Junior — Senior
Slice, link, and append function
livecode
Task condition
What will be the output of the following program?
func main() {
people := make([]person, 2)
p1 := &people[1]
p1.age++
people = append(people, person{})
p1.age++
fmt.Println(people[1].age)
fmt.Println(p1.age)
}