C++ 这道题D选项哪里错了10.合法的数组定义是 B .A.int a[3][ ]={0,1,2,3,4,5}; B.int a[ ][3] ={0,1,2,3,4}; C.int a[2][3]={0,1,2,3,4,5,6}; D.int a[2][3]={0,1,2,3,4,5,};
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 07:01:25
C++这道题D选项哪里错了10.合法的数组定义是B.A.inta[3][]={0,1,2,3,4,5};B.inta[][3]={0,1,2,3,4};C.inta[2][3]={0,1,2,3,4,
C++ 这道题D选项哪里错了10.合法的数组定义是 B .A.int a[3][ ]={0,1,2,3,4,5}; B.int a[ ][3] ={0,1,2,3,4}; C.int a[2][3]={0,1,2,3,4,5,6}; D.int a[2][3]={0,1,2,3,4,5,};
C++ 这道题D选项哪里错了
10.合法的数组定义是 B .
A.int a[3][ ]={0,1,2,3,4,5}; B.int a[ ][3] ={0,1,2,3,4};
C.int a[2][3]={0,1,2,3,4,5,6}; D.int a[2][3]={0,1,2,3,4,5,};
C++ 这道题D选项哪里错了10.合法的数组定义是 B .A.int a[3][ ]={0,1,2,3,4,5}; B.int a[ ][3] ={0,1,2,3,4}; C.int a[2][3]={0,1,2,3,4,5,6}; D.int a[2][3]={0,1,2,3,4,5,};
5后面多了个逗号,不符合语法啊