Q. What is the output?
Code:
int x = 5;
printf("%d", x++);
β
Correct Answer: (B)
5
Explanation: x++ uses the current value (5), then increments x to 6.