|
|
Storage is reserved for an automatic object, and is available for the object on each entry (by any means) into the block in which the object is declared. On any type of exit from the block, storage is no longer reserved.
An object declared outside any block, or declared with the keywords static or extern, has storage reserved for it for the duration of the entire program. The object retains its last-stored value throughout program execution.