Quote Originally Posted by Mybowlcut View Post
Code:
int Y = 0;
int* X = &Y;
std::cout << &(*X) << std::endl;
Oh ok. I did that and It still shows the content of X. Probably I did a mistake somewhere else. Most likely with Y in uper code. Anyway thankyou.