5.1 auto

An auto variable is one that is created upon the entry of the containing block, and destroyed upon the exit of the containing block. This is the default for all local variables. Because of the nature of auto variables, they cannot retain data across invocations of the block. auto variables are said to have a block limited lifespan.



Copyright © 2006-09-25 by Tak Auyeung