以下不能对二维数组a进行正确初始化的语句是()
A: inta[2][3]={{1,2,3},{4,5,6}};
B: inta[][3]={{1,2,3},{1,2,3}};
C: inta[2][4]={{1,2,3},{4,5},{6}};
D: inta[3][3]={{1,2,3},{4,5,6},{7,8,9}}
A: inta[2][3]={{1,2,3},{4,5,6}};
B: inta[][3]={{1,2,3},{1,2,3}};
C: inta[2][4]={{1,2,3},{4,5},{6}};
D: inta[3][3]={{1,2,3},{4,5,6},{7,8,9}}
举一反三
- 以下能对二维数组a正确初始化的语句是() A: inta[2][]={{1,0,1},{5,2,3}}; B: inta[][3]={{1,2,3},{4,5,6}}; C: inta[2][4]={{1,2,3},{4,5},{6}}; D: inta[][3]={{1,0,1},{},{1,1}};
- 以下能对二维数组进行正确初始化的语句是() A: inta[1][3]={{1,0,1},{},{1,2,3}}; B: inta[2][4]={{1},{2,3},{4,5,6}}; C: inta[][3]={{1,2},{3,4}}; D: inta[3][]={{1},{2,3},{4,5,6}};
- .以下能对二维数组a进行正确初始化的语句是()。(A)inta[2][]={{1,0,1},{5,2,3}};(B)inta[][3]={{1,2,3},{4,5,6}};(C)inta[2][4]={{1,2,3},{4,5},{6}};(D)inta[][3]={{1,0,1},{},{1,1}}; A: inta[2][]={{1,0,1},{5,2,3}}; B: inta[][3]={{1,2,3},{4,5,6}}; C: inta[2][4]={{1,2,3},{4,5},{6}}; D: inta[][3]={{1,0,1},{},{1,1}};
- 以下能对二维数组a正确初始化的语句是( ) 。 A: int a[2][]={{1,0,1},{5,2,3}}; B: int a[ ][3]={{1,2,3},{4,5,6}}; C: int a[2][4]={{1,2,3},{4,5},{6}}; D: int a[ ][3]=1;
- 如果 frame = [[1,2,3],[4,5,6],[7,8,9]],则rgb = frame[::-1]的值是: A: [[7, 8, 9]] B: [[1,2,3],[4,5,6],[7,8,9]] C: [[7, 8, 9], [4, 5, 6], [1, 2, 3]] D: [[1, 2, 3], [4, 5, 6]]