All challenges
Multiple ChoiceBeginner 180s

Go: Variadic

How do you declare variadic params?
Options
  1. 1func f(x ...int)
  2. 2func f(x *int)
  3. 3func f(x []int)
  4. 4func f(x int[])

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