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("%p %p", *r, a);
}

 

  • A.Different address is printed
  • B.1   2
  • C.Same address is printed.
  • D.1   1

Answer: C

No answer description available for this question.
 

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

Post your comment