Junior — Senior
What result will program №12 output
livecode
Task condition
What will be the output of the program after its execution?
func main() {
s := make([]int, 0, 3)
s = append(s, 1)
s = append(s, 2)
add(s)
fmt.Printf("%v", s)
}
func add(s []int) {
s = append(s, 3)
s = append(s, 4)
}