Skip to content

Chapter 5. Addresses and Pointer Types

A variable has a value. In Zig, a variable may also have an address.

SectionTitle
1Addresses and Pointer Types
2Single-Item Pointers
3Many-Item Pointers
4Slices
5Pointer Arithmetic
6Alignment
7Lifetimes
8Exercises