Function Pointers
Use callbacks and tables of functions for drivers, state machines and configurable behavior.
CORE IDEA
Function pointer stores a code address
ENGINEERING VIEW
Signature must match
WHAT TO WATCH
Useful for callbacks
REMEMBER
Keep interfaces explicit
Engineer’s checklist
- Function pointer stores a code address
- Signature must match
- Useful for callbacks
- Keep interfaces explicit
// V1.4 content area
// Next iteration: full examples, compiler output and exercises.