请教关于函数strcpy的问题条件是:char*p,str[10] xyz p abcd 请教下:strcpy(str+2,p)与strcpy(st
请教关于函数"strcpy"的问题
条件是: char *p,str[10]= 'xyz ';
p= "abcd ";
请教下: strcpy(str+2,p);
与strcpy(str,p);
当输出结果时:printf( "%s ",str); 个是什么?
[解决办法]
xyabcd
abcd
