»
06. Pointer
Go语言中的指针与C++中的指针类似,存储的是内存地址,也可以将变量的地址赋值给某个指针:
var p *int
x := 42
p = &x
————www.v-signon.com学习者共勉