In the above powerpoint slide, why is it that:
int* p = &x;
cout << *p << endl;
outputs 25? From the little understanding that I have with pointers, &x is the address of x, which is assigned to *p, the value of p. In that case, since &x is 0003, so shouldn't *p and its output also be 0003?
For all the advanced coders out there who cannot stand a simpleton like myself, I apologize in 'advance'.