第23386题 单选
已知如下C++代码,下列哪个函数调用能改变变量a的值
int f(int &x) { x += 3; return x; }
int a = 3;
A

f(&a);

B

f(*a);

C

f(a);

D

f(a-3);

提交0次 正确率0.00%
答案解析