Total number of Question:30
Viewed Question:1
Remaining Question:29

Remaining Time :


What is the output of this C code ?
#include
int x = 0;
void main()
{
int *ptr = &x;
printf(‘’%p\n’’, ptr);
x++;
printf(‘’%p\n ‘’, ptr);
}

  Same address
  Different address
  Compile time error
  Varies