Heap Memory
The heap, or free store:
- Request storage area with new
- Values accessed through a pointer
- Neither the number of values, nor the size of a particular value
need be known at compile time
- Lifetime of a value is not tied to a function
- Values may persist after program ends
- Space returned to heap using delete
prev
|top
|next