填空题
以下程序运行后的输出结果是______。
#include
char*ss(char*s)
char*p,t;
P=s+1;t=*s;
while(*p) *(p-1)=*p;p++;
*(p-1)=t;
return s;
main()
char*p,str[10]="abcdefgh";
p=ss(str);
printf("%s\n",p);
【参考答案】
bcdefgha
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
执行以下程序的输出结果是______。 #include<stdio.h> #define M 5 #define N M+M main() int k; k=N*N*5;printf( %d n ,k);
点击查看答案&解析
填空题
以下程序运行后的输出结果是______。 main() int a=1,b=2,c=3; if(c=a)printf( %d n ,c); else printf( %d n ,b);
点击查看答案&解析
相关试题
以下程序中函数fun的功能是:统计person所...
i%2或i%2==1