1 package main 2 3 import "fmt" 4 5 func main() { 6 e:=51 7 fmt.Println(e) 8 fmt.Println(&e) //&e; 将给出变量的实际地址。 0xc04203c1d0 9 }
go语言返回变量存储地址