0
What is the output of the following code snippet ?
int a = 3; int b = 5;
int*p = &b;
int**q = &p;
*q = &a;
printf("%d",*p);
- ASegmentation fault
- B0XF3000H
- C5
- D3
Correct answer: D
What is the output of the following code snippet ?
int a = 3; int b = 5;
int*p = &b;
int**q = &p;
*q = &a;
printf("%d",*p);