All challenges
Multiple ChoiceHard 30s

Unsequenced Modification

i = i++ + 1; is:
Options
  1. 1Well-defined behavior that evaluates as i + 1
  2. 2A compile error for the ambiguous expression here
  3. 3Undefined behavior (unsequenced modification of i)
  4. 4Well-defined behavior that evaluates as i + 2

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle