下列数组定义中错误的是_______ ()
A: int x[ ]={0};
B: int x[1]={0};
C: int x[ ][ ]={{1,2,3},{4,5,6}};
D: int x[2][3]={1,2,3,4,5,6};
A: int x[ ]={0};
B: int x[1]={0};
C: int x[ ][ ]={{1,2,3},{4,5,6}};
D: int x[2][3]={1,2,3,4,5,6};
举一反三
- 下列数组定义中错误的是_______ () A: int x[ ]={0}; B: int x[1]={0}; C: int x[ ][ ]={{1,2,3},{4,5,6}}; D: int x[2][3]={1,2,3,4,5,6};
- 以下语句中错误的是() A: int x[][3] = {0}; B: int x[2][3] = {{1,2}, {3,4}, {5, 6}}; C: int x[][3] = {{1,2,3}, {4,5,6}}; D: int x[2][3] = {1,2,3,4,5,6};
- 以下数组定义中错误的是: int x[2][3]={0};|int x[2][3]={1,2,3,4,5,6};|int x[2][3]={{1,2},{3,4},{5,6}};|int x[][3]={{1,2,3},{4,5,6}};
- 以下数组定义中,错误的是______。? int x[2][3]={{1,2}, {3,4}, {5,6}};|int x[][3]={{1,2,3}, {4,5,6}};|int x[][3]={0};|int x[2][3]={1,2,3,4,5,6}
- 以下数组定义中错误的是() A: int X[2][3]={{1,2},{3,4},{5,6; B: int x[][3]={0); C: int 4][3]={(1,2,3},{4,5,6; D: int 对2][3]={1,2,3,4,5,6};