问题 单项选择题

下面程序的运行结果是( )。
#include<stdio.h>
main()
int y=10;
doy--;while(--y);
printf("%d\n",y--);

A.-1

B.1

C.8

D.0

答案

参考答案:D

解析: 本题考查“++”和“--”运算符,运算符“++”是操作数加1,而“--”则是操作数减1。在do-while循环中,首先执行y--,再执行--y。当y=2时,执行y--,y的值变为 1,--y使y值变为0,循环结束。执行输出时,先输出y的值0,然后执行y--,使y的值变为 -1。

多项选择题
单项选择题

Questions 81-90 are based on the following passage.
It sounds like a science fiction, but researchers say it’s a scientific fact: Microscopic organisms dubbed "killer algae" are paralyzing fish with unknown toxins and then eating away at their flesh. They might be making people sick, too.
The name given to this single-cell organism, or dinoflagellate, is Pfiesteria piscimorte- literally, "fish killer. " It was discovered at North Carolina State University in 1988, but at the same time, few scientists believed in its existence, much less in its highly unusual predatory nature. But ongoing research has led to international acknowledgment of the phenomenon and, recently, research funding.
Seemingly prompted by an unknown substance secreted by fish, the aggressive creature swims into action. It sends neurotoxins into the water and air, paralyzing a fish’s nervous system, and causing it to gasp for air at the surface. Eventually the fish suffocates. The killer dinoflagellate then attaches itself to the fish and begins sucking away at its flesh. This macabre scenario may help solve several sea mysteries, such as why fishermen report seeing "fish walks" (fish trying to leave the water) and pools of dead fish with holes eaten through them.
Whether humans are affected by the dinoflagellate’s toxin remains to be seen. Researchers think it’s unlikely eating fresh fish are in danger, but anyone with frequent exposure to the creature could be in peril. Several researchers working with the algae have reported bouts of memory loss and disorientation.
To understand the killer algae further, scientists must fully characterize their toxin and determine what stimulates them to attack. They also need to know if the algae are hurting fish populations, and whether pollutants make them more likely to attack.

Which of the following questions is answered according to the information given in the passage

A.What is the toxin used by the fish killer

B.Who first discovered the organism

C.How does the fish killer paralyze fish

D.How many fishes can the organism kill each day