I'm just trying to understand the difference in how you output pointers.
let's say I have:
int x = 100;
int*p = &x;
int x = 100; int*p = &x; what would each of the following do?
cout << p << endl; cout << *p << endl; cout << &p << endl;
cout << p << endl; cout << *p << endl; cout << &p << endl;