Q. What is the output of the following code?
Code:int x = 10;
printf("%d", x++);
β
Correct Answer: (A)
10
Explanation: Post-increment returns value before incrementing.