单选题
下列语句段将输出字符“*”的个数为( )。
int i=100;
while(1)
i--;
if(i==0)
break;
cout<<'*';
A.98个 B.99个
C.100个 D.101个
A
B
C
D
【正确答案】
B
【答案解析】
提交答案
关闭