205 views
0 votes
0 votes
#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.
 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
3
tempUser1 asked Feb 15, 2016
999 views
Like the question says, what is the difference between Gate SCORE and marks out of 100? Why there are 2 different marks?
0 votes
0 votes
1 answer
4