A.3
B.4
C.1
D.2
[单选题]下面程序的输出结果是main(){ int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下面程序的输出结果是main(){ int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下面程序的输出结果是main(){ int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下面程序的输出结果是______。 main() { int a[]={1,2,3,4,5,6,7,8,9,0},*p; p=a; printf("%d/n",*(p+9)); }A.0B.1C.10D.9
[单选题]下面程序的输出结果是______。 main() { int a[]={1,2,3,4,5,6,7,8,9,0},*p; p=a;ptintf("%d/n",*p+9); }A.0B.1C.10D.9
[单选题]下面程序的输出结果是______。 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() {inta[10]={1,2,3,4,5,6,7,8,9,10},*p=a; printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下面程序输出的结果是 main() { int x; x=-3+4*5-6;printf("%d",x); x=3+4%5-6;printf("%d",x); x=-3+4%6/5;printf("%d",x); x=(7+6)%5/2;printf("%d",x);}A.11 1 -3 1B.11 -3 2 1C.12 -3 2 1D.11 1 2 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
[单选题]下面程序输出的结果是 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