單項選擇題下列各語句定義了數(shù)組,其中哪一個是不正確的()。
A.chara[3][10]={”China”,”American”,”Asia”};
B.intx[2][2]={1,2,3,4};
C.floatx[2][]={1,2,4,6,8,10};
D.intm[][3]={1,2,3,4,5,6};
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題
下列定義的字符數(shù)組中,輸出printf(“%s\n”,str[2]);的輸出是()。
A.basic
B.foxpro
C.windows
D.輸出語句出錯
2.單項選擇題設有定義:chars[12]=“string“;則printf(“%d\n“,sizeof(s));的輸出是()。
A.6
B.7
C.11
D.12