#include using namespace std; void increment(int &); int main() { int i=5; i++; cout << "address of i: " << &i << endl; increment(i); cout << i << endl; return 0; } void increment(int &n) { cout << "Address that n is referencing: " << &n << endl; cout << "n: " << n << endl; n++; }