storage duration
Rules for when an object's memory is created and freed.
Every object has one of four storage durations: automatic (locals, on the stack), static (globals and static locals), dynamic (created by new, on the heap), or thread (thread_local).