#include <iostream>
using namespace std;

int main()
{
	int a = 3;
	// 引用相当于别名,对引用的操作相当于对本身进行操作
	int &b = a;
	b = 10;
	cout << a << endl;// 10
	cout << b << endl; // 10

	system("pause");
	return 0;
}