以下能对二维数组a进行正确说明和初始化的语句是:( )。
(A)int a( )(3) = { (1, 0, 1), (2, 4, 5) };
int a( )(3) = { (1, 0, 1), (2, 4, 5) };
(B)int a[2][ ] = { {3, 2, 1}, {5, 6, 7} };
int a[2][ ] = { {3, 2, 1}, {5, 6, 7} };
(C)int a[ ][3] = { {3, 2, 1}, {5, 6, 7} };
int a[ ][3] = { {3, 2, 1}, {5, 6, 7} };
(D)int a(2)( ) = { (1, 0, 1), (2, 4, 5) };
int a(2)( ) = { (1, 0, 1), (2, 4, 5) };
Copyright ©