执行下面C++代码将输出 11。
int x = 10;
void f() {
int x = x + 1;
cout << x << endl;
}
int main() {
f();
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析