执行如下 C++ 代码,其输出是( )。
int tot, i;
tot = 0;
for (i = 0; i < 10; i++)
if (i)
tot += 1;
cout << tot;
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析