Multiple ChoiceIntermediate 30s
Go: Channel Buffer
ch := make(chan int, 5) creates:
Options
- 1An unbuffered channel, no capacity
- 2A buffered channel (capacity 5)
- 3A slice, preallocated with length five
- 4A map, preallocated for five keys
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.