We break down pointers in Go without mysticism: what the type
*
T means, how the address-of operator
& works, what dereferencing
*
p does, and why the
nil pointer is dangerous when reading. With small examples, we’ll show in-place changes via
&
balance, print an address via
fmt.Printf
(
"%p"
,
p
), and explain the mechanics of
fmt.Scan
(
&
x
).