Question Detail
Question
What are the values of `x` and `y` after executing `x = 5; y = x++;`?
Correct Answer
Option A is the correct answer.
Detailed Explanation
The postfix operator assigns the current value of
x (5) to y, then increments x to 6.
Hint
No hint available