#include<stdio.h>
void connect_string(char *from,char *to)
{
while(*to!='\0')
to++;
while(*from!='\0')
*to++=*from++;
*to='\0';
}
int main()
{
char str1[50]="T'm a teacher!",str2[50]="You are a student!";
printf("--------------\n");
puts(str1);
puts(str2);
connect_string(str1,str2);
printf("--------------\n");
puts(str2);
return 0;
}