Lecture 1 - Slide 18 : 34 |
Pointers are abstractions of memory addresses
Pointers are also important in C++
May instances of classes or structs are not accessed by pointers in C++
Polymorphic objects must be accessed by pointers, however
C++ smart pointers are introduced to avoid memory leaks and dangling pointers