Storage Duration

An identifier’s storage duration determines the period during which that identifier exists in memory. Some exist briefly, some are repeatedly created and destroyed and others exist for a program’s entire execution. First we discuss the storage durations static and automatic.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.