Types
Conversions
Type qualifiers
const
volatile
- Volatile tells the compiler that a value might change behind its back and should be looked up every time. E.g: some kind of hardware timer.
- “The thing this points at might change at any time for reasons outside this program code.”
static
- In block scope:
static
with an initializer will only be initialized one time on program startup.
- In file scope: the
static
variable in this context isn’t visible outside of this particular source file.