0
Difference between &p and p
void main(){ int x = 12; int* p = &x; cout << &p << endl; cout << p << endl; } why the output is different??
2 Answers
+ 1
the first line prints the address of pointer p..
the second line prints the address of x
0
thank you ā¤