Files
cpp-course/modules/05_pointers_and_references
..
2026-08-15 17:04:40 +03:00
2026-08-15 17:12:19 +03:00
2026-08-11 17:40:36 +03:00
2026-08-11 17:40:36 +03:00

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/delete and 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