answersLogoWhite

0


Best Answer

It is a local variable known only to the function in which it is declared. Auto is the default storage class.

User Avatar

Wiki User

βˆ™ 13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is automatic variable and what is its use?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the definition of EDVAC?

Electronic Discrete Variable Automatic Computer.


What is the by default storage class of any variable in c?

automatic storage class


Value of automatic variable that is declared but not intialized?

The value of an automatic variable that is declared but not initialized is indeterminate.Some debug implementations will preset uninitialized variables to a known state, such as 0xcccccccc, or my favorite, 0xcacacaca, but that is just a hint that you are doing something very, very wrong if you ever encounter such a value.


Why use static variable in programming language?

For C programming, the use of a static variable has two uses: One reason is to hide the variable from other modules. The scope of the static variable is limited to the compilation unit that it is described in. The second use of a static variable is to keep the value of the variable intact through the entire program execution unit.


What are the functions of a storage class?

There are four storage class specifiers in C and C++. These are - 1. auto : The storage specifier auto refers to automatic variable declaration. The life of an automatic variable is the time during which its parent function is running. The scope of an auto variable is the function scope. They can be accessed only from their parent functions. Syntax : auto int a; 2. register : A register variable has all the characteristics of an auto variable. The only difference is that auto variable uses the main memory to store data and register uses the CPU registers. 3. extern : This storage specifier is used to declare a global variable. The life of these variables is the time during which the program runs.

Related questions

When do you use gear 1 on an automatic?

An automatic selects its own gears and some automatics do not have staged gears but are continuously variable.


How are the automatic variable also known as?

local variable


What are the automatic variables in sas?

_N_ and _ERROR_ are the automatic variable in sas


What is tiptronic gear box?

what is tiptronic gear box? Automatic gearbox,able to use variable gears by choice


What is the definition of EDVAC?

Electronic Discrete Variable Automatic Computer.


What is a style of transmission?

There are multiple styles of transmissions. There is the average automatic and standard (or manual) transmissions. And then there is the sequential transmission, which is essentially an automatic, but also gives the driver the ability to shift gears manually without the use of a clutch. And finally there is the CVT or continuously variable transmisson, which is a gearless transmission that works with a belt and variable pulleys.


What is full form of edvac?

Electronic Discrete Variable Automatic Computer


What does ski-doo's rave mean?

Rotax Automatic Variable Exhaust


What are the automatic varriable in c?

An automatic variable is activated and has its memory allocated in the block in which it is declared. The memory and contents will be deleted when the block is exited.


Is the Ford Fusion hybrid standard or automatic?

The ( 2012 ) Ford Fusion hybrid has an electronically controlled continuously variable transmission ( automatic )


Full meaning of eniac edvac and univac?

Electronic Numerical Integrator And ComputerElectronic Discrete Variable Automatic ComputerUNIVersal Automatic Computer


What is the by default storage class of any variable in c?

automatic storage class