Multiple ChoiceBeginner 30s
Go: cap
cap(slice) returns:
Options
- 1The length of elements currently held
- 2The type the slice elements carry
- 3The address of the backing array
- 4The capacity (underlying array size)
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.