Question Detail
Question
Consider the expression: `x = 5; y = ++x;`. What are the final values of `x` and `y`?
Correct Answer
Option A is the correct answer.
Detailed Explanation
The prefix increment
++x increments x to 6 before yielding the value to be assigned to y.
Hint
No hint available