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

After appending to a slice that has spare capacity, what does this print?

a := make([]int, 3, 5) b := append(a, 99) a = a[:4] fmt.Println(a[3])