Multiple ChoiceBeginner 30s
Go: if with init
if x := f(); x > 0 { } — x is scoped to:
Options
- 1The whole function
- 2The if/else blocks
- 3The package
- 4The file
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.