问题描述:
[填空]
请写出如下程序的输出结果:#include “stdio.h”main(){ char s[81]= “abc def gh”;char *p1,*p2;p1=p2=s;while(*p1!= ‘\0’){ if(*p1!= ‘ ’){*p2=*p1;p2++;}p1++;}*p2= ‘\0’printf(“%s\n”,s);}
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:女儿墙应设置构造柱,构造柱间距不宜大于()
下一篇:以下程序的功能是判断输入的字符串是否为“回文”(如“123454321”、“level”)。#include #include main(){char s[80],*p1,*p2;int n;();n=strlen(s);p1=s;p2=();while(p1
- 我要回答: 网友(3.137.171.56)
- 热门题目: 1.下面哪一项支持进行贸易保护? 2.下面哪一项不是超参数() 3.凯恩斯主义的贸易理论是(超保