Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyGovariadic functionsSingle-choice MCQ

What is the value and type of the variadic parameter when the function is called with no arguments?

func sum(nums ...int) (bool, int) { return nums == nil, len(nums) } fmt.Println(sum())