定义二维数组并初始化正确的是【 】
A.int a[3][3]=[0,1]; B.int a[3][3]={0,1,2,3,4,5,6,7,8,9}; C.int a[3][ ]={{1,2},{3,4)}; D.int a[ ][3]=({0},{1,2},{3,4,5}};正确答案D
定义二维数组并初始化正确的是【 】
A.int a[3][3]=[0,1]; B.int a[3][3]={0,1,2,3,4,5,6,7,8,9}; C.int a[3][ ]={{1,2},{3,4)}; D.int a[ ][3]=({0},{1,2},{3,4,5}};正确答案D