Stack memory

Applies to: cpp, c, general

Stack memory stores function call frames and local variables with automatic lifetime.

void f() { int x = 0; }

See also: stack, heap-memory