首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

请问关于函数"strcpy"的有关问题

2012-03-06 
请教关于函数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

热点排行