#2316. [GESP202606 一级 C++] 第 23 题
[GESP202606 一级 C++] 第 23 题
下面的 C++ 代码执行后将输出 24 。
int total;
for (int n = 1; n <= 4; n++) {
total *= n;
}
cout << total;
{{ select(1) }}
- 正确
- 错误
下面的 C++ 代码执行后将输出 24 。
int total;
for (int n = 1; n <= 4; n++) {
total *= n;
}
cout << total;
{{ select(1) }}