以下数组定义中不正确的是___( )___.
A. int a[2][3];
B. int b[][3]={0,1,2,3};
C. int c[100][100]={0};
D. int a[3][]={{1,2},{1,2,3},{1,2,3,4;
以下程序的输出结果是___( )___.#include void main(){ int i,a[10]; for(i=9;i>=0;i--) a[i]=10-i; printf("%d%d%d",a[2],a[5],a[8]); }
A. 258
B. 741
C. 852
D. 369
下列程序的输出结果是___( )___.#include void main(){char b[]="ABCDEFG"; char p=0; while(p<7) putchar(b[p++]); putchar('\n'); }
A. GFEDCBA
BCDEFG
C. ABCDEFG
D. GFEDCB
以下程序的输出结果是___( )___.#includevoid main(){ int i,x[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) printf("%d,",x[i][i]); printf("\n"); }
A. 1,5,9,
B. 1,4,7,
C. 3,5,7,
D. 3,6,9,