// refvar.cpp: Demonstration of a reference variable
#include <iostream>
using namespace std;

int main() {
 int i, &x = i;
 i = 2; x *= 100;
 cout << "The value of i is now " << i << endl;
 cout << "The value x now is " << x << endl;
 return 0;
}
