How can I check memory address of a variable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I check memory address of a variable?

I want to check memory address of a variable. Like this: if(&a=0x2121c) { printf("impossible"); } But the compiler is giving an error. How can I check it?

4th Oct 2017, 8:45 AM
Yusuf
Yusuf - avatar
1 Answer
+ 1
Thank you @Gordie
4th Oct 2017, 9:38 AM
Yusuf
Yusuf - avatar