Which of the following is correct about ranges in Go?
The range keyword is used in for loop to iterate over items of an array, slice, channel or map.
With array and slices, it returns the index of the item as integer.
With maps, it returns the key of the next key-value pair.
All of the above.
© 2017 QuizBucket.org