All challenges
Code AnalysisHard 50s

Trace: Signed Left Shift

What does this print? (assume 32-bit int, 2's complement)
Starter code
int x = 1; x = x << 31; printf("%d", x);

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