要求定义一个具有6个元素的int型一维数组,以下选项中错误的是
A. int a[2*3] = {0};
B. int N = 6, a[N];
C.
D. define N 3int a[N+N];
E. int a[] = {1, 2, 3, 4, 5, 6};
有以下程序#include main( ){int i, k;int array[4][2] = {{1, 0}, {0}, {2, 9}, {3}};for (i=0; i<2; i++)for (k=0; k<3; k++){printf("%d, ", array[k][i]);}printf("\n");}程序运行后的输出结果是( )
A. 1, 0, 2, 0, 0, 9,
B. 1, 2, 4, 9, 6, 0,
C. 2, 9, 0, 0, 1, 4,
D. 1, 2, 0, 1, 4, 1,