Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is printed by the following Go code?
s := []int{10, 20, 30, 40}x := s[1:3]fmt.Print(len(x), cap(x))
s := []int{10, 20, 30, 40}
x := s[1:3]
fmt.Print(len(x), cap(x))
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!