//6.2.2传引用参数 #include using namespace std; void a(int &i); int main(){ int x=12; a(x); cout << x << endl; return 0; } void a(int &i){ i=111; }