C Functions Question:

Explain the use of "auto" keyword in C Programming?

Tweet Share WhatsApp

Answer:

The keyword ‘auto’ is used extremely rare. A variable is set by default to auto. The declarations:

auto int number; and int number;

has the same meaning. The variables of type static, extern and register need to be explicitly declared, as their need is very specific. The variables other than the above three are implied to be of ‘auto’ variables. For better readability auto keyword can be used.

Download C Functions PDF Read All 45 C Functions Questions
Previous QuestionNext Question
Do you know what are the properties of Union in C?What is self-referential structure in C Programming?