void fun(char *str)
{char *w=str;
while(*w)
{if(*w!=' ')
*str=*w;
str++;
w++;
}
str=0;
w++放在if外面
点赞
扫一扫分享朋友圈
二维码
分享
你确定要删除这个问题吗?