A.380
B.480
C.160
D.不定值
[单选题]若有如下程序: main() {int a[3][4]={1,2,3,4,5,6,7,8,9}; printf("%d%d%d/n",a[0][1],a[1][2],a[2][3]); } 则程序运行后的输出结果是( )A.270B.480C.160D.不定值
[单选题]有如下程序: main() { int a[3][3]={{1,2},{3,4},{5,6}},i,j,s=0; for(i=1;i<3;i++) for(j=0;j<=i;j++) s+=a[i][j]; printf("%d/n",s); } 该程序的输出结果是______。A.18B.19C.20D.21
[单选题]有如下程序: main() { int a[3][3]={{1,2},{3,4},{5,6}},i,j,s=0; for(i=1;i<3;i++) for(j=0;j<=i;j++) s+=a[i][j]; printf("%d/n",s); } 该程序的输出结果是______。A.18B.19C.20D.21
[单选题]若有如下程序: main() {int x=3,y=4,z; z=(x+(y-=X*X)); printf("%d,%d/n",y,z); } 则程序执行后的输出结果是( )。A.-4,2B.-5,-2C.-5,-1D.4,-2
[单选题]有如下程序 int a[10]={1,2,3,4,5,6,7,8,9,10}; int*p=&a[3],b;b=p[5]; 则b的值是A.5B.6C.9D.8
[单选题]有如下程序int a[10]={1,2,3,4,5,6,7,8,9,10};int *p=&a[3],b;b=p[5];则b的值是A.5B.6C.9D.8
[单选题]有如下程序int a[10]={1,2,3,4,5,6,7,8,9,10};int *p=&a[3],b;b=p[5];则b的值是A.5B.6C.9D.8
[单选题]有如下程序 int a[10]={1,2,3,4,5,6,7,8,9,10}; int *p=&a[3],b;b=p[5]; 则b的值是A.5B.6C.9D.8
[单选题]有如下程序int a[10]={1,2,3,4,5,6,7,8,9,10};int *p=&a[3],b;b=p[5];则b的值是A.5B.6C.9D.8
[单选题]有如下程序段: int a[10]={1,2,3,4,5,6,7,8,9,10}; int *p=&a[3],b;b=P[5];则b的值是( )。A.5B.6C.9D.8