以下合法的数组定义是( )。
A: int a[]="Language";
B: char a[]="C Program Language.";
C: char a="C Program";
D: int a[5]={0,1,2,3,4,5};
A: int a[]="Language";
B: char a[]="C Program Language.";
C: char a="C Program";
D: int a[5]={0,1,2,3,4,5};
举一反三
- 合法的数组定义是( )。 A: int a[]="Language"; B: int a[5]={0,1,2,3,4,5}; C: char a="C Program"; D: char a[]="C Program Language.";
- 以下合法的数组定义是( ) A: int a[]="language"; 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[]="language"; 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[]="language"; 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[] = "language"; B: int a[5] = {0,1,2,3,4,5}; C: char a = "string"; D: char a[] = {"0,1,2,3,4,5"};