选择题

执行下列语句段后, 输出字符“*”的个数是
for(int i=50; i>1; i-=2)count<´ *´;

【正确答案】 B
【答案解析】

count<<是输出的意思, for 是循环语句共执行了 25 次, 应输出 25 个*。