you are adding strings that wont work. You better use strcat for combine the strings.
but most strange is:
scanf("%s %s %s %s %s",r1.m1,r2.m2,r3.m3,r4.m4,r5.m5);
For eacht string a own member of a different struct?
Why not:
scanf("%s %s %s %s %s",r1.m1,r1.m2,r.m3,r1.m4,r1.m5);
and you better use more describale names than m1. Like name or description...