Multiple ChoiceBeginner 30s
C: assignment vs equality
if (x = 5) is an:
Options
- 1Assignment (always true if 5 != 0)
- 2An equality check against x == 5
- 3A syntax error before the program
- 4A comparison true only at x == 5
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.