Top

Discussion

What is the output of this C code?

void main()
{
int a[3] = {1, 2, 3};
int *p = a;
int *r = &p;
printf("%d", (**r));
}

 

  • A.1
  • B.Compile time error
  • C.Address of a
  • D.Junk value

Answer: B

No answer description available for this question.
 

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

Post your comment