Pointers

What is a Pointer?

The basic definition of a pointer is a variable that stores an address. Pointers are used to store the adresses of other variables. Normally a variable contains a specific value. A pointer on the other hand contains the memory address of a variable which, in turn, contains a specific value.

Principle of Least Privilege - code should be granted only the amount of privilege and access needed to accomplish its task, but no more.

Declaring Pointers: Pointer Operators: Initializing Pointers: Pass-by-Reference with Pointers: constness of Pointers: Pointer Arithmetic