Can I make a C program details? Can someone tell me how to do this I don't exactly know what I Am doing but I would like to see memory addresses?
How do I see the memory address on my computer of like libraries and the stack and heap and stuff?
Well you can see memory addresses of variables in C using the reference operator '%26amp;', eg:
int i = 10;
cout %26lt;%26lt; %26amp;i;
Will show you the memory address of variable i instead of the value.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment