home *** CD-ROM | disk | FTP | other *** search
- Objects declared inside a function or a block of code are local to
- that function or block. When a local nonstatic object is
- declared, storage is allocated for it on a stack. When a block or
- function ends, stack memory occupied by associated local objects
- is released. The amount of data in the stack can vary greatly
- during program execution. The same bytes of memory can be reused
- by a variety of local objects whose lifetimes do not overlap.
-