Seo Forum

Coding & Programming => Programming Forum => Topic started by: beingchinmay on 09-03-2016, 03:43:26

Title: The Storage Class auto
Post by: beingchinmay on 09-03-2016, 03:43:26
Variables declared within function bodies are by default automatic, making automatic the most common of the four storage classes. An automatic variable is allocated within a block, and its lifetime is limited to the execution of that block. Once the block is exited, the value of such a variable is lost. If a compound statement contains variable declarations, these variables can be used within the scope of the enclosing compound statement. Recall that a compound statement with declarations is a block.