Arrays & Strings
Use contiguous memory for buffers, tables and character data.
CORE IDEA
Array indexing starts at zero
ENGINEERING VIEW
Array size is not automatically carried with a pointer
WHAT TO WATCH
Strings require a terminating null character
REMEMBER
Bounds must be controlled by the programmer
Engineer’s checklist
- Array indexing starts at zero
- Array size is not automatically carried with a pointer
- Strings require a terminating null character
- Bounds must be controlled by the programmer
// V1.4 content area
// Next iteration: full examples, compiler output and exercises.