#GESP4262. [GESP]L4-202609-Q4262-J
[GESP]L4-202609-Q4262-J
执行下面程序后会输出 20。
void change(int x) {
x = 20;
}
int main() {
int x = 10;
change(x);
cout << x;
return 0;
}
{{ select(1) }}
- 正确
- 错误
相关
在下列比赛中:
执行下面程序后会输出 20。
void change(int x) {
x = 20;
}
int main() {
int x = 10;
change(x);
cout << x;
return 0;
}
{{ select(1) }}