All challenges
Multiple ChoiceBeginner 30s

C: ternary

x > 0 ? 1 : -1 is the:
Options
  1. 1Ternary (conditional) operator
  2. 2Binary operator combining operands
  3. 3Unary operator on one operand
  4. 4Assignment operator storing values

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