Playground
Pointer workshop

The visual rulebook

Golang
Rules

Tap a note. Watch the address, pointer, and value move through memory.

Live memory map

Follow the pointer

memory box · 0xA1
a22
&a · address
pointer box
p0xA1
&a asks: where does a live?
Mini example
a := 22      // value
p := &a      // address
fmt.Println(*p) // 22

Keep this forever

& = ADDRESS

* = VALUE