Q. What will the following code print?
Code:int a = 5;
printf("%d %d", a++, ++a);
β
Correct Answer: (C)
Undefined behavior
Explanation: Modifying a variable more than once in the same statement causes undefined behavior.