First page Back Continue Last page Graphics
Automatic Storage Duration
It can cause confusion using the same variable for different things.
A variable defined inside a function has automatic storage duration.
A variable local to a function is undefined after the function exits. (no space for it)
A variable defined inside a block has its scope confined to that block.
See example on page 354 and auto.cpp in prata.