November 2017
Intermediate to advanced
226 pages
5h 59m
English
The heap is used dynamically for allocation memory. The heap is used in a situation when the application is unaware of the data it will receive or process. So, the heap is used to store global variables and values assigned in a disorganized manner. The heap is freed only when the application is terminated.
The heap grows opposite to the stack. It grows from the lower addresses to the higher addresses:

Read now
Unlock full access