Stack

TODO.

Static Memory

Static variables are placed into the static segment of memory:

  • Variables with static storage duration have their address and size known at compile time. They’ll live for as long as the program lifetime.