package main import "fmt" func main() { a := "hello" c := "its a long way to tipperary" b := &a fmt.Printf("%v %v\n", *b, a) fmt.Printf("%p %p\n", b, &c) a = " geoffkdjvlkdfsjfvkldsjvflkdsjv" + a fmt.Printf("%p %p\n", b, &a) fmt.Printf("%v %v\n", *b, a) fmt.Printf("%p %p\n", b, &c) d := [3]string{"A", "s", "e"} d[1] = "eee" fmt.Printf("%v %p\n", d, &d) for i:=0; i<3; i++ { fmt.Printf("%d %c %p\n", i, d[i][0], &d[i]) } // d[0][0] = 'q'; not allowed }