Skip to content

Chapter 2. Names and Declarations

A Zig program is made from declarations.

SectionTitle
1Names and Declarations
2const and var
3Integer Types
4Floating-Point Types
5Booleans
6Characters and Bytes
7Type Inference
8Explicit Casts
9Exercises