下列字符数组的定义和初始化中错误的是( )。 A: char s1[]="china"; B: char s2[]={"china"}; C: char s3[5]="china"; D: char s4[5]={'c','h','i','n','a'};
下列字符数组的定义和初始化中错误的是( )。 A: char s1[]="china"; B: char s2[]={"china"}; C: char s3[5]="china"; D: char s4[5]={'c','h','i','n','a'};
字符串“China”占内存单元是5个字符。
字符串“China”占内存单元是5个字符。
<6>下列数组说明中,正确的是()。 A: staticcharstr[]="China"; B: staticcharstr[];str="China"; C: staticcharstr1[5],str2[]={"China"};str1=str2; D: staticcharstr1[],str2[];str2={"China"};strcpy(str1,str2);
<6>下列数组说明中,正确的是()。 A: staticcharstr[]="China"; B: staticcharstr[];str="China"; C: staticcharstr1[5],str2[]={"China"};str1=str2; D: staticcharstr1[],str2[];str2={"China"};strcpy(str1,str2);
Huawei, a Chinese firm, received 5 million US dollars from its sales in the US and deposited them into BoA (a US bank). A: China's nancial account gets a positive entry of 5 million. B: China's nancial account gets a negative entry of 5 million. C: China's nancial account does not change. D: It is not clear how the nancial account of China would change.
Huawei, a Chinese firm, received 5 million US dollars from its sales in the US and deposited them into BoA (a US bank). A: China's nancial account gets a positive entry of 5 million. B: China's nancial account gets a negative entry of 5 million. C: China's nancial account does not change. D: It is not clear how the nancial account of China would change.
下列语句正确的是( ) A: char string[]; string="china"; B: char string1[],string2[]; string2={"china"}; strcpy(string1,string2); C: char string1[5],string2[]={"china"}; string1=string2; D: char string[]="china";
下列语句正确的是( ) A: char string[]; string="china"; B: char string1[],string2[]; string2={"china"}; strcpy(string1,string2); C: char string1[5],string2[]={"china"}; string1=string2; D: char string[]="china";
China is divided into provinces, 5 , 4 centrally –administered municipalities and 2 .
China is divided into provinces, 5 , 4 centrally –administered municipalities and 2 .
在下列语句中,正确的是( )。 A: char str[]=”China”; B: char str[];str=”China”; C: char str1[5],str2[]={”China”};str1=str2; D: char str1[],str2[];str2={”China”};strcpy(str1,str2);
在下列语句中,正确的是( )。 A: char str[]=”China”; B: char str[];str=”China”; C: char str1[5],str2[]={”China”};str1=str2; D: char str1[],str2[];str2={”China”};strcpy(str1,str2);
下面是对字符数组s的初始化,其中不正确的是( )。 A: char s[5]={"CHINA"}; B: char s[5]={'C','H','I', 'N', 'A'}; C: char s[5]="CHI"; D: char s[]="CHINA";
下面是对字符数组s的初始化,其中不正确的是( )。 A: char s[5]={"CHINA"}; B: char s[5]={'C','H','I', 'N', 'A'}; C: char s[5]="CHI"; D: char s[]="CHINA";
4. China is divided into provinces, 5 , 4 centrally –administered municipalities and 2 .
4. China is divided into provinces, 5 , 4 centrally –administered municipalities and 2 .
在下列语句中,正确的是 ( ) A: static char str[]="China"; B: static char str[];str="China"; C: static char str1[5],str2[]={"China"};str1=str2; D: static char str1[],str2[];str2={"China"};strcpy(str1,str2);
在下列语句中,正确的是 ( ) A: static char str[]="China"; B: static char str[];str="China"; C: static char str1[5],str2[]={"China"};str1=str2; D: static char str1[],str2[];str2={"China"};strcpy(str1,str2);