Pointer

A pointer points to an address of another variable. (Confusing as hell at first)

First learned in in CS137 first year of uni.

https://cplusplus.com/doc/tutorial/pointers/ for more information. Because no one understands it.

A pointer points to an address location of a variable. We can also get the memory address of a variable using &. However, a pointer is a variable that stores the memory address as its value.

A pointer can point to any data type (like int or string) of the same type and is created with the * operator. Also called the deference operator.