Q. What will be the output?
Code:
int x = 5;
printf("%d", ++x);
β
Correct Answer: (B)
6
Explanation: ++x increments x before using it in printf.