填空题
以下程序运行后的输出结果是【 】。 #include<string.h> main() {char ch[]="abc",x[3][4];int i; for(i=0;i<3;1++)strcpy(x[i],ch); for(i=0;i<3;i++)printf("%s",&x[i][i]; printf("\n"); }
【参考答案】
abcbcc
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
在Windows环境下,为了将屏幕内容存入剪贴板,应按【 】键。
点击查看答案
填空题
以下程序运行后的输出结果是【 】。#include<string.h>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);}
点击查看答案&解析
相关试题
一个关系表的行称为【 】。
有以下程序void f( int y,int *x)...
以下程序的功能是计算:s=1+12+12...
设函数findbig( )已定义为求3个数中的...
以下程序运行后的输出结果是【 】。main(...