问题描述:
[填空]
以下程序的功能是判断输入的字符串是否为“回文”(如“123454321”、“level”)。#include #include main(){char s[80],*p1,*p2;int n;();n=strlen(s);p1=s;p2=();while(p1
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:请写出如下程序的输出结果( )#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);}
下一篇:测得NPN型三极管上各电极对地电位分别为V
- 我要回答: 网友(18.191.149.115)
- 热门题目: 1.脱醚塔塔底无液面是何原因?应 2.要使产品组合的关联度大,必须 3.数控机床的使用记录应()