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

What does this print, given how append and slice headers work?

a := make([]int, 0, 4) a = append(a, 1, 2) b := append(a, 3) c := append(a, 4) fmt.Println(b[2], c[2])