← Circular Array | Pointer | Linked List →
Exit Slideshow

Summary

A pointer stores the memory_address of another variable. Use & (address_of) to get an address. Use * (dereference) to read or modify the value at that address. A nullptr means the pointer is empty. The pointer type must match the data it points to. Always initialize pointers and check for null before using them.

Slide 1 / 6