// A basic use of the reference
#include <iostream>
using namespace std;

int main(){
  int n = 25;  // the target
  int &r = n;  // the alias of the target

  cout << "1.  n and r = " << n << '\t' << r << endl;

  n = 40;
  cout << "2.  n and r = " << n << '\t' << r << endl;

  r = 12;
  cout << "3.  n and r = " << n << '\t' << r << endl;

  return 0;
}
