Vidyalelo
C Programming · Q34

Storage Class

Programming · C Programming · question 34

Q34

What does the "auto" specifier do?

A.
It automatically initializes a variable to 0
B.
It indicates that a variable’s memory will automatically be preserved
Answer
C.
It automatically increments the variable when used
D.
It automatically initializes a variable to NULL
E.
It indicates that a variable’s memory space is allocated upon entry into the block.

Answer: Option B

Solution

Answer: Option B
Solution:

Auto is a automatic storage class. The purpose of auto is it indicates that a variable’s memory will automatically be preserved.