-
What substitution should be made to //-Reference such that p1 points to variable t3 in the following C code?
#include <stdio.h>
int main()
{
int t1 = 1, t2 = 2, t3 = 3;
int *p1 = &t1;
int **p2 = &p1;
//-Reference
}
-
- **p2 = &t3;
- *p1 = &t3;
- *p2 = &t3;
- All of above
- None of these
Correct Option: C
*p2 = &t3;