Question.6
A function redirects a pointer to a different variable:
void redirect(int **pp, int *new_target) { *pp = new_target; } int a = 10, b = 20; int *p = &a; redirect(&p, &b); printf("%d", *p);
What is the output?
Select Answer
10
20
Address of b
b
Compilation error