#include<stdio.h>
int main()
{
int a;
printf(" %u ",&a);
return 0;
}
When we associate '&' with a variable the address we get is the virtual address when we run the program on a system with virtual memory.
Then why swapping in and out a process gives different address many a time.
see image