單項(xiàng)選擇題下列數(shù)組定義、初始化或賦值語句中,正確的是:()

A.intx[5]={1,2,3,4,5,6};
B.intn=8;intscore[n];
C.inta[8];a[8]=100;
D.intx[]={1,2,3,4,5,6};


您可能感興趣的試卷