69,369
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
char *strcpy(char *dest, const char *src);
int main(void){
char *a = "hello world";
//char b[20] ;
char *b = "fuckthegfw!!!!";
printf("%s\n", strcpy(b, a));
return 0;
}
char *strcpy(char *dest, const char *src){
char *deshead = dest;
for(;(*dest++=*src++)!='\0';);
return deshead;
}