有下列语句,编号分别是1、2、3、4,char s1 = "abcde"; //1char s2[] = "abcde"; //2char s3[4] = "abcde"; //3char s4[5] = "abcde"; //4其中错误的是 A: 2 B: 1,3 C: 1,3,4 D: 1,2,3,4
有下列语句,编号分别是1、2、3、4,char s1 = "abcde"; //1char s2[] = "abcde"; //2char s3[4] = "abcde"; //3char s4[5] = "abcde"; //4其中错误的是 A: 2 B: 1,3 C: 1,3,4 D: 1,2,3,4
下列数组声明正确的是() A: char a[ ][ ]=new char[ ][3] B: char a[ ][ ]=new char[3][ ] C: char a[ ][ ][ ]=new char[ ][3][ ] D: char a[ ][ ][ ]=new char[3][ ][3]
下列数组声明正确的是() A: char a[ ][ ]=new char[ ][3] B: char a[ ][ ]=new char[3][ ] C: char a[ ][ ][ ]=new char[ ][3][ ] D: char a[ ][ ][ ]=new char[3][ ][3]
下列语句中,正确的是 ( )。 A: char a[3][ ]={'abc', '1'}; B: char a[ ][3] ={'abc', '1'}; C: char a[3][ ]={'a', "1"}; D: char a[ ][3] ={ "a", "1"};
下列语句中,正确的是 ( )。 A: char a[3][ ]={'abc', '1'}; B: char a[ ][3] ={'abc', '1'}; C: char a[3][ ]={'a', "1"}; D: char a[ ][3] ={ "a", "1"};
合法的数组定义是( ) A: char A[3][]={"111","222"} B: char a[][3]={'aaa','ddd'} C: char a[3][]={'t','u'} D: char a[][3]={"a","k"}
合法的数组定义是( ) A: char A[3][]={"111","222"} B: char a[][3]={'aaa','ddd'} C: char a[3][]={'t','u'} D: char a[][3]={"a","k"}
下列声明二维数组的语句不合法的是() A: char c[][] = new char[2][3]; B: char c[][]=new char[6][]; C: char[][] c= new char[3][3]; D: char [][] c = new char[][4];
下列声明二维数组的语句不合法的是() A: char c[][] = new char[2][3]; B: char c[][]=new char[6][]; C: char[][] c= new char[3][3]; D: char [][] c = new char[][4];
下列语句中,正确的是( )。? char a[ ][3] ={'abc', '1'};|char a[ ][3] ={ "a", "1"};|char a[3][ ]={'abc', '1'};;;|char a[3][ ]={'a', "1"};
下列语句中,正确的是( )。? char a[ ][3] ={'abc', '1'};|char a[ ][3] ={ "a", "1"};|char a[3][ ]={'abc', '1'};;;|char a[3][ ]={'a', "1"};
char[] suit={(char)3, (char)4, (char)5, (char)6};可以换成以下那句 A: char[] suit={3, 4, 5, 6}; B: char[] suit={‘3’, ‘4’, ‘5’, ‘6’}; C: char[] suit={"3", "4", "5", "6"}; D: char[] suit={3.ToString(), 4.ToString(), 5.ToString(), 6.ToString()};
char[] suit={(char)3, (char)4, (char)5, (char)6};可以换成以下那句 A: char[] suit={3, 4, 5, 6}; B: char[] suit={‘3’, ‘4’, ‘5’, ‘6’}; C: char[] suit={"3", "4", "5", "6"}; D: char[] suit={3.ToString(), 4.ToString(), 5.ToString(), 6.ToString()};
下列C代码中,正确的是()。 A: char<br/>a[3][ ] = {'abc’, '1’}; B .char a[ ][3] = {'abc’,<br/>'1’}; B: char a[3][ ] = {'a’, "1"}; C: char a[ ][3] = {"a", "1"};
下列C代码中,正确的是()。 A: char<br/>a[3][ ] = {'abc’, '1’}; B .char a[ ][3] = {'abc’,<br/>'1’}; B: char a[3][ ] = {'a’, "1"}; C: char a[ ][3] = {"a", "1"};
下列语句中,正确的是( )。 A: char a[ ][3] ={ "a", "1"}; B: char a[3][ ]={'abc', '1'}; C: char a[ ][3] ={'abc', '1'}; D: char a[3][ ]={'a', "1"};
下列语句中,正确的是( )。 A: char a[ ][3] ={ "a", "1"}; B: char a[3][ ]={'abc', '1'}; C: char a[ ][3] ={'abc', '1'}; D: char a[3][ ]={'a', "1"};
要为字符变量a赋初值,下列语句中正确的是 A: char a = “3”; B: char a = ‘3’; C: .char a = %; D: char a=*;
要为字符变量a赋初值,下列语句中正确的是 A: char a = “3”; B: char a = ‘3’; C: .char a = %; D: char a=*;