填空题
以下程序运行后的输出结果是
【15】
。 #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
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是 【13】 。void swap(int x,int y){ int t;t=x;x=y;y=t;printf( %d%d ,x,y);}main(){ int a=3,b=4;swap(a,b);pintf(( %d%d ,a,b);}
点击查看答案&解析
填空题
以下程序运行后的输出结果是 【14】 。#include<string.h>void fun(char *s,int P,int k){int i;for(i=p;i<k-1;i++)s[i]=s[i+2];main(){char s[]= abcdefg ;fun(s,3,strlen(s));puts(s)}
点击查看答案&解析
相关试题
以下程序中函数huiwen的功能是检查一个字符...
以下程序运行后的输出结果 【17】 。st...
以下程序运行后的输出结果是 【16】 。...
以下程序中,fun函数的功能是求3行4列二...