Sobes.tech
Junior — Senior

What output will program №44 produce

livecode

Task condition

What will be the output after running the following code?

import (
    "fmt"
)

func Add(sliceParam []string) {
    sliceParam = append(sliceParam, "x")
}

func main() {
    arr := []string{"a", "b", "c"}
    Add(arr[1:2])
    fmt.Println(arr)
}