A.6
B.0
C.1
D.3
[单选题]下面程序输出的结果是main( ){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i<3;i++)printf("%d",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
[单选题]下面程序输出的结果是main(){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i<3;i++)printf("%d ",a[2-i][i]); }A.1 5 9B.7 5 3C.3 5 7D.5 9 1
[单选题]下面程序输出的结果是main(){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i<3;i++)printf("%d ",a[2-i][i]); }A.1 5 9B.7 5 3C.3 5 7D.5 9 1
[单选题]下面程序的输出结果是 ( ) main ( ) { int a=-1,b=4,k; k=(a + + <=0) & & (!(b - - <=0)); prinft("%d%d/n",k,a,b);}A.0 0 3B.0 1 2C.1 0 3D.1 1 2
[单选题]下面程序的输出结果是______。 main() { int a[3][4]={1,3,5,7,9,11,13,15,17,19,21,23}; int(*p)[4]=a,i,j,k=0; for(i=0;i<3;i++) for(j=0;j<2;j++) k=p[i][j]; printf("%d/n",k); }A.17B.18C.19D.23
[单选题]下面程序输出的结果是 main() {int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) printf("%d",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
[单选题]下面程序输出的结果是 main() { int int a[3)[3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) printf("%d",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
[单选题]下面程序运行后的输出结果是( )。struct abc{int a,b,c;}main(){struct abc s[2]={{1,2,3},{4,5,6}};int t;t=s[0].a+s[1].b;printf("%d/n",t);}A.5 B.6 C.7 D.8
[单选题]以下程序的输出结果是______。 main() { int m=5; if(m++>5) printf("%d/n",m); else printf("%d/n",m--); }A.7B.6C.5D.4
[单选题]下面程序输出的结果是includevoid main( ){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9下面程序输出的结果是 #include<iostream.h> void main( ) { int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;<3;i++) cout << a[2-i][i]<<" "; }A.1 5 9B.7 5 3C.3 5 7D.5 9 1