18.1 Categories of Memory

Memory is divided into four categories:
  1. Code - instructions for all global and member functions
  2. Static Data - global variables, and all local and member variables declared static
  3. Run-time Stack - automatics (local non-static)
  4. Free Store (Heap) - dynamically allocated (new)

prev |top |next