I have some experience in C and I am totally new to golang.
func learnArraySlice() { intarr := [5]int{12, 34, 55, 66, 43} slice := intarr[:] fmt.Printf(\"t
Slices and their elements are addressable:
s := make([]int, 10) fmt.Printf("Addr of first element: %p\n", &s[0]) fmt.Printf("Addr of slice itself: %p\n", &s)