问题描述:
[填空]
请写出如下程序的输出结果:#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
- 我要回答: 网友(216.73.216.136)
- 热门题目: 1.经纬仪安置包括( A )。 2.(二)亚急性期(恢复早期)康 3.真空中均匀带电的球面和球体,
