下面程序输出的结果是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
下面程序输出的结果是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 9
B.7 5 3
C.3 5 7
D.5 9 1
相关考题:
以下程序的输出结果是 () include int a [3] [3]={1,2,3,4,5,6,7,8,9},*p; main() 以下程序的输出结果是 ( ) #include<stdlib.h> int a [3] [3]={1,2,3,4,5,6,7,8,9},*p; main( ) { p=(int *)malloc(sizeof(int)); f(p,a); printf("%d\n",*p); } f(int *s,intp[][3]) { *s=p[1][1]; }A.1B.4C.7D.5
下面程序的输出结果是______。 include main() {char *p[]="BOOL","OPK","H","SP"};int 下面程序的输出结果是______。 #include<stdio.h> main() { char *p[]="BOOL","OPK","H","SP"}; int i; for(i=3;i>=0;i-,i-) printf("%c",*p[i]); printf("\n"); }A.SOB.SPC.SPOPKD.SHOB
下列程序的输出结果是【 】。include void swap(int *a, int *B) { int *t; t=a;a=b;b=t; 下列程序的输出结果是【 】。include <stdio.h>void swap(int *a, int *B){int *t;t=a;a=b;b=t;}main(){int i=3,j=5,*p=i,*q=j;swap(p,q);printf("%d %d\n",*p,*q);}
下面程序的输出结果是_______。includemain(){char*p[]={"DOOL","OPK","H","SP"}; int 下面程序的输出结果是_______。 #include<stdio.h> main() { char*p[]={"DOOL","OPK","H","SP"}; int i; for (i=3;i>=0;i-,i-) printf("%c",*p[i]); printf("\n"); }A.SOB.SPC.SPOPKD.SHOB
以下程序的输出结果是includeint a[3][3]={1,2,3,4,5,6,7,8,9,},*p;main(){p=(int*)ma 以下程序的输出结果是 #include<stdio.h> int a[3][3]={1,2,3,4,5,6,7,8,9,},*p; main() { p=(int*)malloc(sizeof(int)); f(p,a); printf("%d\n",*p); free(p);} f(int *s, int p[][3]) { *s=p[1][1];}A.1B.4C.7D.5
以下程序的输出结果是includeint a[3][3]={1,2,3,4,5,6,7,8,9,},*p;main(){p=(int*)ma 以下程序的输出结果是 #include<stdio.h> int a[3][3]={1,2,3,4,5,6,7,8,9,},*p; main() { p=(int*)malloc(sizeof(int)); f(p,a); printf("%d\n”,*p); free(p);} f(int *s,intp [][3]) { *s=p[1][1];}A.1B.4C.7D.5
下面程序输出的结果是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 91
下面程序输出的结果是 include void main( ) { int i; int a[3][3]={1,2, 下面程序输出的结果是 #include<iostream.h> void main( ) { int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) cout<<a[i][i]<<" ";}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
以下程序的输出结果是( )。 include void swap(int*a,int*B){int*t; t=a;a=b;b=c;} main 以下程序的输出结果是( )。 include<stdio.h> void swap(int*a,int*B){int*t; t=a;a=b;b=c;} main() {int i=3,j=5,*p=i,*q=j; swap(p,q);printf("%d %d\n",*p,*q); }