69,368
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
//#include <string.h>
char *str_cpy(char str1[],char str2[])
{
while(*str1++=*str2++);
str1=str1+1;
return str1;
}
int main()
{
char str1[]="jxnuzhouguohong";
char str2[]="come on";
str_cpy(str1,str2);
puts(str1);
return 0;
}