Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyGoslices and slice growthSingle-choice MCQ

What is printed by this program that appends to a slice shared via a subslice?

a := []int{1, 2, 3, 4} b := a[:2] b = append(b, 99) fmt.Println(a)