Storage Class Questions and Answers
Practice ModeShowing 10 of 97 questions
Q1
The area or scope of the variable depends on its
Answer: Option B
Q2
The storage class of a variable tells the compiler
Answer: Option D
Q3
Which variables can not be directly accessed by other functions ?
Answer: Option A
Q4
if float and double are defined wity type register the compiler treats them as
Answer: Option A
Q5
Find the odd one
Answer: Option C
Q6
Which storage class manages memory efficientlly?
Answer: Option B
Q7
Which variable has no memory address ?
Answer: Option B
Q8
Find the output.
void main ( )
{
int static auto x;
x=5;
printf("5d", ++x);
x--;
printf ("%d", x);
}
Answer: Option A
Q9
Which storage class variables are created in stack?
Answer: Option A
Q10
Whch of the following are created during execution time?
Answer: Option D