package main import "fmt" func main() { n := 42 // & takes the address; * reads or writes through it p := &n fmt.Println(*p) *p = 100 fmt.Println(n) }
take an address, read through it