What are the auto variables? Where are they stored?

What are the auto variables? Where are they stored?

- The auto variables are stored in the main memory of the system.

- The keyword 'auto' is optional.

- Many of the variables used by the program or application are 'auto' variables, being the main memory is faster.

- These variables are stored in the memory runtime stack.

- It is de-allocated at the completion of its block execution.

- It is a local variable which is allocated and deallocated automatically when the program flow enters and leaves the variable's scope.
Differences between arrays and linked list
The difference between arrays and linked lists are: Arrays are linear data structures. Linked lists are linear and non-linear data structures....
Explain the term enumerations in C
A set of named integer constants is known as an enumeration. The enumeration type declaration includes the name of the enumeration tag.....
Storage allocation and scope of global, extern, static, local and register variables
The storage allocation / class determine the memory part where the storage space is allocated for variables, functions and how long the allocation of storage continues to exist......
Post your comment
Discussion Board
auto variables
these are stored in main memory.
shipra yadav 03-17-2012