执行给定C++引用传参代码后,变量a的值为多少?
void func(int& x) {
x = x * 2;
}
int a = 5;
func(a);
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析