Q. What is the output?
Code:
int a = 5;
int *p = &a;
*p = 10;
printf("%d", a);
β
Correct Answer: (B)
10
Explanation: Pointer dereferencing allows modifying the original variable.