How to print the memory address of a slice in Golang?
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)
http://golang.org/pkg/fmt/
fmt.Printf("address of slice %p add of Arr %p \n", &slice, &intarr)
%p
will print the address.