Thanks for the replies.
:confused: I am still confused. &a just returns a simple number (which happens to be a memory address) right, so why can't I assign that number to an ordinary integer...
Type: Posts; User: patch1024
Thanks for the replies.
:confused: I am still confused. &a just returns a simple number (which happens to be a memory address) right, so why can't I assign that number to an ordinary integer...
Hi, My question is this:
The code
int a=0;
printf("%p", &a);
shows on the screen the memory address of variable a, so why can't I assign this value to another variable -
int a=0;