Memory Addresses


When a program is being run, the Address Space is divided into four sections. From lowest address to highest address, they are:

  1. Code

  2. Static

  3. Heap

  4. Stack

Sections

Code

Static

Heap