问题 单项选择题

有以下程序
#include <stdio.h>
main()
struct STUchar name[9];char sex;double score[2];;
sturt STU a="Zhao" ,'m',85.0,90.0,b="Qian" ,'f,95:0,92.0;
b=a;
printf("%s,%c,%2.0f,%2.0f\n",b.name,b.sex,b.score[0],b.score[1]);

程序的运行结果是______。
A) Qian,f,95,92 B) Qian,85,90 C) Zhao,f,95,92 D) Zhao,m,85,90

答案

参考答案:D

解析:[评析] 本题定义了两个结构体变量a和b,并将结构体变量a的内容赋给了结构体变量b。对于结构体的赋值,意味这将其中的每一个元素都进行赋值,所以输出的结构体变量b中的内容即为结构体变量a中的各项内容。另外本题需要注意的是输出格式的控制,其中“%2.0f”指的是输出的数据共占2列,其中有0位小数。

单项选择题 A1/A2型题
阅读理解

GUATEMALA CITY(Reuters)---- A fish that lives in mangrove swamps(红树沼泽)across the Americas can live out of water for months at a time, similar to how animals adapted(适应)to land millions of years ago, a new study shows.

The Mangrove Rivulus, a type of small killifish, lives in small pools of water in a certain type of empty nut or even old beer cans in the mangrove swamps of Belize, the United States and Brazil. When their living place dries up, they live on the land in logs(圆木), said Scott Taylor, a researcher at the Brevard Endangered Lands Program in Florida .

The fish, whose scientific name is Rivulus marmoratus, can grow as large as three inches. They group together in logs and breathe air through their skin until they can find water again.

The new scientific discovery came after a trip to Belize.

“We kicked over a log and the fish just came crowding out,” Taylor told Reuters in neighboring Guatemala by telephone. He said he will make his study on the fish known to the public in an American magazine early next year.

In lab tests, Taylor said he found the fish can live up to 66 days out of water without eating.

Some other fish can live out of water for a short period of time. The walking catfish found in Southeast Asia can stay on land for hours at a time, while lungfish found in Australia, Africa and South America can live out of water, but only in an inactive state. But no other known fish can be out of water as long as the Mangrove Rivulus and remain active, according to Patricia Wright, a biologist at Canada’s University of Guelph.

Further studies of the fish may tell how animals changed over time.

“These animals live in conditions similar to those that existed millions of years ago, when animals began making the transition(过渡)form water onto land, ” Wright said.

小题1:The Mangrove Rivulus is a type of fish that ________.

A.likes eating nuts

B.prefers living in dry places

C.is the longest living fish on earth

D.can stay alive for two months out of water小题2:Who will write up a report on mangrove Rivulus?

A.Patricia Wright.

B.Researchers in Guatemala.

C.Scientists from Belize.

D.Scott Taylor.小题3:According to the text, lungfish can __________.

A.breathe through its skin

B.move freely on dry land

C.remain alive out of water

D.be as active on land as in water小题4:What can we say about the discovery of Mangrove Rivulus?

A.It was made quite by accident.

B.It was based on a lab test of sea life.

C.It was supported by an American magazine.

D.It was helped by Patricia Wright.