问答
当前位置:首页 问答 其它 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,5,6};D.inta[2][3]={0,1,2,3,4,5,};
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,5,6};D.inta[2][3]={0,1,2,3,4,5,};
更新时间:2025-04-05 23:31:23 专题:其它
问题描述:

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,5,6};D.inta[2][3]={0,1,2,3,4,5,};

刘振伟回答:   5后面多了个逗号,不符合语法啊

其它推荐

热门其它推荐