A.0
B.1
C.10
D.9
[单选题]下面程序的输出结果是______。 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[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 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() {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(){inta[4][4]={{1,3,5},{2,4,6},{3,5,7}};printf(";";%d%d%d%d/n";";,a[0][3],a[1][2],a[2][1],a[3][0];}A . 6B . 6789C . ’6’D . 789
[主观题]以下程序段的输出结果是(6)。main (){int a=2,b=3,c=4;a*=16+(b++)-(++c);printf("%d",a);}
[单选题]下面程序的输出结果是______。 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=2, b=-1, c=2;if(a<B) if(b<0)c=0; else c++;cout<<c<<end1;}A.0B.1C.2D.3
[单选题]下面程序的输出结果是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