以下正确的数组定义语句是( )A.int y[1][4]={1,2,3,4,5,}B.float x[3][]={{1},{2},{3}}C.long s[2][3]={{1},{1,2}{1,2,3,}}D.double t[][3]={0}

以下正确的数组定义语句是( )

A.int y[1][4]={1,2,3,4,5,}

B.float x[3][]={{1},{2},{3}}

C.long s[2][3]={{1},{1,2}{1,2,3,}}

D.double t[][3]={0}


相关考题:

以下正确的数组定义语句是( )。A.int y[1][4]={1,2,3,4,5, };B.float x[3][]={{l},{2},{3}};C.long s[2][3]={{1},{1,2}{1,2,3,}};D.double t[][3]={0}

以下正确的数组定义语句是______。A.int y[1][4]={1,2,3,4,5};B.float x[2][]={{1},{2),{3}};C.long s[2][3]={{1},{1,2},<1,2,3}};D.double t[][3]={0};

以下正确的数组定义语句是( )。A.int y[1][4]={1,2,3,4,5,}B.float x[3][]={{1},{2},{3}}C.long s[2][3]={{1},{1,2}{1,2,3,}}D.double t[][3]={0}

以下正确的数组定义语句是______。A.int y[1][4]={1,2,3,4,5};B.float x[3][]={{1},{2},{3}};C.long s[2][3]={{1},{1,2},{1,2,3}};D.double t[][3]={0);

下列关于数组的静态初始化语句,正确的是()A.int [] score =new int[]{1,2,3,4,5};B.int [] score=new int[5]{1,2,3,4,5};C.int [5] score=new int[]{1,2,3,4,5};D.int [5] score=new int[5]{1,2,3,4,5};

以下正确的数组定义语句是:A.char a[5]={'1', '2', '3', '4', '5', '0'};B.int b[2][ ]={{1}, {2}};C.float c[ ][3]={1, 2, 3, 4, 5};D.char d[5]="CHINA";

以下对指针定义合法的语句是()A.int *p=x=3;B.int y[5]={1,2,3,4,5},*p=y;C.char ch[12]=″Hello World″,*c=ch;D.char *c,c=‘x’,c=c;

2、以下正确的数组定义语句是:A.char a[5]={'1', '2', '3', '4', '5', '\0'};B.int b[2][ ]={{1}, {2}};C.float c[ ][3]={1, 2, 3, 4, 5};D.char d[5]="CHINA";

11、如下定义语句是正确的数组定义语句。 int a[5]; int b[]={1,2,3,4,5};