0

Can i see memory location of a variable or a data through a program?

C language

2nd Aug 2022, 9:51 AM
Suraj Joshi
4 Answers
+ 2
#include <stdio.h> int main() { int myAge = 43; printf("%p", &myAge); return 0; }
3rd Aug 2022, 12:20 AM
Chris Coder
Chris Coder - avatar
+ 2
Yes.
2nd Aug 2022, 10:13 AM
Justice
Justice - avatar
0
Justice how can i do it? Please tell me about memory adress
2nd Aug 2022, 10:18 AM
Suraj Joshi
0
3rd Aug 2022, 2:28 AM
Suraj Joshi