Module 05: Pointers and References
Learning Goals
- Understand pointers, addresses, and dereferencing
- Use references as aliases and for function parameters
- Apply pointer arithmetic carefully
- Manage dynamic memory with
new/deleteand prefer smart pointers later
Exercises
| Exercise | Topic |
|---|---|
pointer_basics |
Address-of, dereference, null |
references |
Reference parameters and return |
pointer_arithmetic |
Iterating with pointers |
dynamic_memory |
Manual allocation patterns |