#include<stdio.h>
int main(){
int i=0,j=0;
char s1[222],s2[333];
printf("请输入第一个字符串:\n");
gets(s1);//=scanf("%s",s1);
printf("请输入第二个字符串:\n");
gets(s2);
while(s1[i]!='\0')
i++;
while(s2[j]!='\0')
s1[i++]=s2[j++];//这里我没看懂
s1[i]='\0';//等遍历完
printf("\nThe new string is:%s\n",s1);
return 0;
}