问题
单项选择题
C++中注释“∥”的有效范围是( )
A.从“∥”开始到行尾
B.从“∥”开始到下一个“∥”
C.“∥”及其后一个字符
D.从“∥”开始到程序尾
答案
参考答案:A
解析: 主要考查的知识点为C++中的注释方式。
[要点透析] C++中有两种注释方式,一种是沿用C语言的从“/*”开始,直到“*/”结束的注释方式,另一种是从“//”开始到本行结束。
C++中注释“∥”的有效范围是( )
A.从“∥”开始到行尾
B.从“∥”开始到下一个“∥”
C.“∥”及其后一个字符
D.从“∥”开始到程序尾
参考答案:A
解析: 主要考查的知识点为C++中的注释方式。
[要点透析] C++中有两种注释方式,一种是沿用C语言的从“/*”开始,直到“*/”结束的注释方式,另一种是从“//”开始到本行结束。
先阅读短文,然后根据短文内容从方框内所给的单词中选择恰当的词(注意词形变化)填入短文空白处, 使短文完整、通顺。一词只用一次,一空限填一词。方框中有两个词是多余的。 | |
village. It was so hot that 1 felt very 1 . Then I began to think of the sweet watermelons and other fruits in Grandma's house. I could hardly wait to arrive there and 2 my grandma earlier. It took us one more hour to get there. When we walked into the house, Grandma was busy preparing 3 in the kitchen. I knew from her smile face that she was very glad to see us. She brought out a big watermelon and cut it. It was so nice to eat the watermelon on such a hot day. After lunch my mother felt tired and went to bed to have a rest. I asked my grandma to tell me a fair tale. We sat on the bed and she began to tell it. I listened to her 4 , It was not long before I fell 5 . I was dreaming when a terrible sound woke me up. I saw Grandma was lying on the ground. I couldn't believe my 6 . How fearful a sight was! I hurried to wake my mother up. We took Grandma to the 7 in a hurry. But it was too late. My grandma's heart stopped beating (跳动) when we got there. You'll never imagine how 8 we felt then. Grandma was very well all the time. I had never imagine she would 9 us so soon. That evening I lay in bed alone. Tears ran down my face. I prayed (祈祷) and prayed, wishing my grandma would be able to 10 back. Now several years have passed. My dear grandma, where are you? I 11 you so much. |