全部题库 / C语言 / 试题详情
单选题 C语言
2010-03-08

以下数组定义中错误的是(    )。

A.int x[][3]={0}; 
B.int x[2][3]={{l,2},{3,4},{5,6}};
C.int x[][3]={{l,2,3},{4,5,6}}; 
D.int x[2][3]={l,2,3,4,5,6};

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

A.switch(x) {case 1.0:printf("*\n");case 2.0:printf("**\n");}
B.switch((int)x);{case 1:printf("*\n");case 2:printf("**\n");}
C.switch(a+B) {case 1:printf("*\n");case 2+1:printf("**\n");}
D.switch(a+B){case 1:printf("*\n");case c:printf("**\n");}