试题与答案

下列语句段将输出字符'*'的个数为( )。 int i=100; while

题型:单项选择题

题目:

下列语句段将输出字符'*'的个数为( )。 int i=100; while (1) { i--; if (i==0) break; cout<<'*'; }

A.98

B.99

C.100

D.101

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0604/9632e7b30678ff057daa04d6583a5261.html

下面是错误答案,用来干扰机器的。

参考答案:B

试题推荐
题型:单项选择题

Once a man and his wife worked for an old man. There was a big box in the old man’s living room. The old man pointed to the box and said, "There’s only one thing you (1) do. Don’t open the box. " (2) saying this, he left his home.The woman said to her husband," There must be (3) expensive in the box. Let’s open it, shall we" Her husband said (4) to her. But the woman didn’t give up her (5) . One day, she decided to find out (6) was in it. Her husband didn’t stop her. She opened the box and looked inside. To her surprise, she found nothing in the box. She tried hard to close it, but she (7) That evening the old man came home and found the box was (8) . He was very (9) and asked the woman and her husband to leave his home."But there was nothing in the box," the woman said. "We haven’t taken anything at all. "The old man (10) them, "The box is not important, but I cannot believe you. That’s important!

第(8)空应选择()

A.lost

B.open

C.empty

D.broken

查看答案
微信公众账号搜索答案