coding tips using C language string copy from one to another char s1[100]; char s2[100]; memcopy(s1,s2,sizeof(lenS2)); printf("%s",s1); memcopy自动在后面加'\0'