#GESP3426. [GESP]L4-202509-Q3426-J
[GESP]L4-202509-Q3426-J
执行下面 C++ 代码将输出 。
int x = 10;
void f() {
int x = x + 1;
cout << x << endl;
}
int main() {
f();
}
{{ select(1) }}
- 正确
- 错误
相关
在下列比赛中:
执行下面 C++ 代码将输出 11。
int x = 10;
void f() {
int x = x + 1;
cout << x << endl;
}
int main() {
f();
}
{{ select(1) }}