11.3) Applications Of Pointers
Amongst other things, pointers can be used:
- As analogues to iterators when applying algorithms to arrays
- As a means of accessing dynamic storage
- As a way for a function to modify the variables that are passed to it when it is called (although references are better for this in C++ - see later)