Top

Discussion

What is the output of this C code?

void main()
{
int x = 0;
int *ptr = &5;
printf("%p\n", ptr);
}

 

  • A.5
  • B.Address of 5
  • C.Nothing
  • D.Compile time error

Answer: D

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment