| <<< Variables in memory | Index | >>> |
Pointer is a variable that holds a memory address.
Pointer remembers the data type that it points to.
memory[ location ]....access memory at a given address
*location.............short-hand for location[0], called "dereference"
&variable.............address of a variable or function
addr = new int........free store allocation, also new int[]
addr[ offset ]........access to free store
delete................free store deallocation, also delete[]
heap..................C-style dynamic memory management
free store............C++-style dynamic memory management
array.................block of memory
multidim. array.......block of memory
| <<< Variables in memory | Index | >>> |