Question PRG-C-0042
MediumWhat is the output of this program?
#include <stdio.h>
int main() {
int x = 5;
int *p = &x;
int **q = &p;
**q = 12;
printf("%d", x);
return 0;
}
- A.
12
- B.
5
- C.
Sign up free to see the answer and a step-by-step explanation.