1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int p = 1, q = 2, r = 3;
int *p1 = &p, *p2 = &q, *p3 = &r;
int **p4 = &p1; //-Reference
*p4 = p2;
}

A. p4 points to p2
B. p1 points to p
C. p1 points to q
D. All of above
E. None of these
Answer» B. p1 points to p


Discussion

No Comment Found