合法的数组定义是 ( )A.int a[ ]="string";B.int a[5]={0,1,2,3,4,5};C.char a="string";D.char a={0,1,2,3,4,5};

合法的数组定义是 ( )

A.int a[ ]="string";

B.int a[5]={0,1,2,3,4,5};

C.char a="string";

D.char a={0,1,2,3,4,5};


相关考题:

下列合法的数组定义是______。A.int a[]="string";B.int a[5]={0,1,2,3,4,5};C.char s="string";D.char a[]={0,1,2,3,4,5};

以下合法的数组定义是 。A.char a[ ]={0,1,2,3,4,5}B.int a[5]={0,1,2,3,4,5};C.char a="string" ;D.char a[]= "string";

下列定义中,合法的数组定义是()。A.int a[]="string";B.int a[5]={0,1,2,3,4,5};C.char s="string";D.char a[]={0,1,2,3,4,5};

合法的数组定义是()。A.char a[]={"0,1,2,3,4,5"};B.char a[]="string"C.int a[5]={0,1,2,3,4,5};D.int a[ ]= "language"

2、下列定义中,合法的数组定义是()。A.int a[]="string";B.int a[5]={0,1,2,3,4,5};C.char s="string";D.char a[]={0,1,2,3,4,5};

【单选题】()是合法的数组定义。A.char str[ ]={48,49,50,51,52,53};B.int a[5]={0,1,2,3,4,5};C.int a[]="string";D.char str[ ]=‘string’;

【单选题】合法的数组定义是()A.int a[]={“string”};B.int a[5]={0,1,2,3,4,5};C.char a[]= “string”;D.char a[5]={0,1,2,3,4,5};

合法的数组定义是________A.int a[6]={"string"};B.int a[5]={0,1,2,3,4,5};C.char a={"string"};D.char a[]={0,1,2,3,4,5};

()是合法的数组定义。A.char str[ ]={48,49,50,51,52,53};B.int a[5]={0,1,2,3,4,5};C.int a[5]="string";D.char str[ ]='string';