The Stack and the Heap

  • Stack

    • Pushing and popping fixed size of data
    • Known at compile time
    • LIFO
  • Heap

    • Allocating dynamic data at runtime