若有以下定义和语句 char s1[10]="abcd!",*s2="\n123\

题型:单项选择题

问题:

若有以下定义和语句
char s1[10]="abcd!",*s2="\n123\\";
printf("%d%d\n",strlen(s1),strlen(s2));
则输出结果是

A) 5 5
B) 10 5
C) 10 7
D) 5 8

考点:计算机等级考试C语言二级C语言笔试
题型:单项选择题

根据短文内容,选择最佳选项。

     A terrible mudslide (泥石流) swept through Zhouqu County in northwest China's Gansu Province

on August 7, 2010. Lots of people were killed and injured in the disaster (灾难), and some are still

missing. Now the new school semester began. How about the students there?

     Up till now, most people including teachers and students are still living in the tents. The students should

have started their new semester on August 15. However, the terrible mudslide disrupted the plan since

two schools were damaged and three others were used as resettlement areas (安置区). The new

semester had to be put off for ten days. Also, since many teachers were killed, parents were worrying that

their children might not be able to go to school. Luckily, 54 teachers from neighboring areas were sent to

Zhouqu County, and 12 volunteer teachers arrived there, too. Moreover, all the students got their text-

books and school things for free.

     On the first day of school, a girl said, "The disaster is weighing heavily on my mind (沉重地压在我

的心上). But today school begins. I'm with my classmates again. I feel so happy."

     Zhouqu County has two primary schools, two junior high schools and one senior high school. The

students of the only senior high school had to start the new semester in a school in the neighboring area.

Although the new school is far from their homes, they are happy to return to school.

1. The underlined word "disrupted" means "_____" in Chinese.

A. 实施

B. 打乱

C. 制定

D. 完善

2. The new school semester began on _____ in Zhouqu County.

A. August 7

B. August 15

C. August 25

D. September 1

3. What were the parents in Zhouqu County worrying?

A. There were no textbooks for their children.

B. Their children had problems with their studies.

C. The textbooks were too expensive for them to afford.

D. There were not enough teachers to teach their children.

4. From the underlined words the girl said, we can learn she is very _____.

A. sad

B. afraid

C. smart

D. optimistic (乐观)

5. Which of the following is NOT true according to the passage?

A. There are five schools in Zhouqu County.

B. Many people had to live in the tents after the mudslide.

C. The teachers now in Zhouqu County are much more than before.

D. The terrible mudslide killed many people and affected people's lives there.

题型:单项选择题

青蛙的生殖和发育在哪里进行[ ]

A.陆地

B.水中

C.水中和陆地

D.母体内

题型:单项选择题

痛经病人的护理措施包括()。

A.加强经期保健指导,缓解精神压力

B.指导病人采用生物反馈法以缓解症状

C.腹部热敷或进热饮料可缓解子宫痉挛性疼痛

D.经期常规服用止痛片

E.冷饮有助于镇静、转移注意力达到缓解症状作用

题型:单项选择题

智能变电站继电保护相关的设计、基建、改造、验收、运行、检修部门应按照工作职责和界面分工,把好系统配置文件(SCD文件)关口,确保智能变电站保护()、()、()工作安全。

A.运行

B.检修

C.改扩建

D.新建

题型:单项选择题

建设项目总承包招投标,实际上就是按合同有关条款。

更多题库