对二维数组正确定义并初始化的是( )
A.int a[ ][3]={1,2,3,4,5,6}; B.int a[3][3]=(1,2,3,4,5,6); C.int a[3][ ]={{l,2,3},{4,5,6}}; D.int a[3][3]={a,b,c,d,e,f,g};正确答案A
对二维数组正确定义并初始化的是( )
A.int a[ ][3]={1,2,3,4,5,6}; B.int a[3][3]=(1,2,3,4,5,6); C.int a[3][ ]={{l,2,3},{4,5,6}}; D.int a[3][3]={a,b,c,d,e,f,g};正确答案A