int i;
int &j=i;//j refers to i ;j指向i
i = 1;
j = 2;

cout << i << " "<< j <<endl;
输出
2 2