题目内容

请将6个数:1,2,3,4,5,6用一个二维数组arr存放,以下语句正确的是_____

A. arr[][]={1,2,3,4,5,6};
B. arr[2][]={1,2,3,4,5,6};
C. arr[][2]={1,2,3,4,5,6};
D. arr[2][2]={1,2,3,4,5,6};

查看答案
更多问题

有字符数组 char c1[]={'y', 'a', 'n', 'g', 'o'}, c2[]={"yango"}; 以下描述正确的是_____

A. 字符数组c1和c2的长度是一样的
B. printf("%s", c1);printf("%s", c2);可以正确地输出字符数组c1和c2
C. 在字符数组c1的最后,系统会自动添加'\0'
D. 在字符数组c2的最后,系统会自动添加'\0'

有字符数组 char chr[10]={'h', 'e', 'l', 'l', 'o'}; 关于chr的长度以下描述正确的是_____

A. chr的长度是5
B. chr的长度是6
C. chr的长度是10
D. chr的长度是11

有字符数组char c[9]; 以下为数组提供值的语句正确的是_____

A. c[9]="yes, i do";
B. c[9]="yes,i do";
C. c[9]={'y', 'e', 's', ',', ' ', 'i', ' ', 'd', 'o'};
D. strcpy(c, "yes,i do");

Directions:Fill in the blanks with the following words. Change the form where necessary. Each word can be used only once.differentiateincompatiblecorrelationdreadfulintelligiblenegligiblebizarreallegeconsolidatehabitat1. I will conduct a top-to-bottom review of the state departments, agencies, and commissions, and seek to ________ or to eliminate them where appropriate.2. To a 10-year-old girl, you need to offer understanding about her wishes and help her ________ between fantasy and reality.3. When we heard about the ________ suffering of the children and adults, our primary instinct, like millions of others, was to shed tears.4. It was when we started living together that we found, to our sadness and surprise, that we were ________.5. It was ________ that he had taken a $50,000 bribe before the project was transferred to another company.6. The budget proposal has been described as "________" and "inappropriate" by people objecting to it.7. It seems that what people believe and what researchers have found out about the ________ between wealth and happiness are more different than overlapping.8. Current expenditure in this museum is ________ in comparison with the huge amount which foreign museums of similar standing spend.9. The air and rivers in this area are getting cleaner, and attempts to preserve animal species and their ________ have been mainly successful.10. If you can provide rational and ________ debates from an unbiased point of view, maybe we will all learn something.

答案查题题库