Originally Posted by Mybowlcut 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.
int Y = 0; int* X = &Y; std::cout << &(*X) << std::endl;
Share and always try to give back more.
Forum Rules