Curriculum Types & methods Pointers exercise 5 · fill-word
Pointers
Dereference p to read the value it points at. The blank is
the single operator that goes before the variable name.
This is the deref half of the & / * pair. Exercise 4 did
address-of; this exercise does the inverse.
TypeScript reference
Fill the blanks →
About this theme
&x takes the address of x. *p dereferences p. Pointers in Go are pointers — they're not garbage-collector-hostile, they don't do arithmetic (no p++), and they don't bite. They're the explicit version of "by reference" — TypeScript hides this behind "objects are references," Go makes it visible.