MCQ Answer

The default storage class of a ‘C’ variable is

The default storage class of a ā€˜C’ variable is

Topic : Storage Class

A. auto

B. static

C. extern

D. register




Correct Answer is :

A. auto



Explanation
The auto storage class is the default storage class for all local variables. The example above defines two variables with in the same storage class. 'auto' can only be used within functions, i.e., local variables.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad