问题
单项选择题
定义如下变量:char one_char;,则语句cout<<one_char;显示结果相当于C语言中的( )语句。
A.printf(one_char);
B.prinff("%c",one_char);
C.scanf(one_char);
D.scanf("%c",&one_char);
答案
参考答案:B
定义如下变量:char one_char;,则语句cout<<one_char;显示结果相当于C语言中的( )语句。
A.printf(one_char);
B.prinff("%c",one_char);
C.scanf(one_char);
D.scanf("%c",&one_char);
参考答案:B
完形填空。 | ||||
A man was looking for things of the old times. One day he came to a village and found a blue bowl which looked very 1 . The bowl was on the ground and a cat was drinking milk from it. A farmer, the 2 of the cat, was lying 3 the bowl. The man did not want the farmer to know that he was interested in the 4 . So he said to him, "What a nice cat you have! Will you 5 it to me?" The farmer asked," 6 will you give me for the cat?" "Twenty dollars. Would that be enough?" The farmer thought for a few minutes, then he 7 . After he paid the farmer, the man said, "My cat will certainly feel 8 . May I take the bowl 9 the cat can drink with it?" But the farmer said, "I'm 10 I can't give you the bowl. Thanks to the bowl, I have sold twenty cats already." | ||||
|