单项选择题

有如下程序段:
int i=1;
while(1){
i++;
if(i==10)break;
if(i%2==0)cout<<"*";
}
执行这个程序段输出字符"*"的个数是______。

A.10
B.3
C.4
D.5
题目列表

你可能感兴趣的试题

微信扫码免费搜题