#GESP3843. [GESP]L4-202603-Q3843-S
[GESP]L4-202603-Q3843-S
执行下面程序后输出为( )。
int x = 3;
void f(int& x){
x += 2;
}
int main(){
int x = 10;
f(x);
cout << x << " " << ::x;
}
{{ select(1) }}
相关
在下列比赛中:
执行下面程序后输出为( )。
int x = 3;
void f(int& x){
x += 2;
}
int main(){
int x = 10;
f(x);
cout << x << " " << ::x;
}
{{ select(1) }}