题目内容

下面程序运行的结果是()。#include int main( ){int a[6]={12,4,17,25,27,16},b[6]={27,13,4,25,23,16},i,j;for(i=0;i<6;i++){for(j=0;j<6;j++) if(a[i]==b[j])break;if(j<6) printf("%d ",a[i]);}printf("\n");}

查看答案
更多问题

下面程序运行后的输出结果是()#includemain(){ int b[3] [3]={0,1,2,0,1,2,0,1,2},i,j,t=1; for(i=0; i<3; i++) for(j=i;j<=i;j++) t+=b[i][b[j][i]]; printf("%d\n",t);return 0;}

下面程序运行后的输出结果是()#includeint main( ){ int i, x[3] [3]={1,2,3,4,5,6,7,8,9}; for(i=0; i<3; i++)printf("%d",x[i][2-i]);return 0;}

下面程序运行后的输出结果是()#includeint main( ){ char b[] ={"Hello,you"}; b[5]=0;printf("%s\n",b);return 0;}

下面程序运行后的输出结果是()#includeint main( ){ char a[10]="abcde",b[]="fgh";int i=0 ; strcpy(a+1,b+2);printf("%s",a);return 0;}

答案查题题库