Auto storage class in c
- They are declared at the start of a program’s block such as in the curly braces ( { } ).
- Memory is allocated automatically upon entry to a block and freed automatically upon exit from the block.
- Automatic variables may be specified upon declaration to be of storage class auto. However, it is not required to use the keyword auto because by default, storage class within a block is auto.
Comments