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?
a := [3]int{1, 2, 3}b := ab[0] = 10fmt.Println(a[0], b[0])
a := [3]int{1, 2, 3}
b := a
b[0] = 10
fmt.Println(a[0], b[0])
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!