#include<stdio.h>
void main()
{ //获取字符串a,b
void strcopy(char *to,char *from);
char * a,* b;
int i;
a=(char *)malloc(sizeof(char) * 5);
b=(char *)malloc(sizeof(char) * 5);
gets(a);
gets(b);
strcopy(a,b);
puts(a);
puts(b);
}
void strcopy(char *from,char *to)
{
while(*to++=*from++);
}
