#include using namespace std; void rec(int n) { int a = n * 2; int b = n + 2; cout << "n is at " << & n << "\n"; cout << "a is at " << & a << "\n"; cout << "b is at " << & b << "\n"; if (n > 0) rec(n-1); cout << "rec finished\n"; } void func(int x) { int b = 99; int c = 4; cout << "func/b is at " << & b << "\n"; cout << "func/c is at " << & c << "\n"; rec(c); } int main() { int w = 234; int * a = new int[16]; int * b = new int[16]; cout << "w is at " << & w << "\n"; cout << "a is at " << & a << "\n"; cout << "a is " << a << "\n"; cout << "b is at " << & b << "\n"; cout << "b is " << b << "\n"; cout << "rec is at " << rec << "\n"; func(6); }