Question 1 of 25
Hints left: 3
Q1
What is the significance of the 'extern' storage class?
Q2
Which storage class can only be used for local variables?
Q3
What storage class is used for function parameters in C by default?
Q4
What happens when you declare a variable with the 'extern' storage class in a C source file?
Q5
What is the primary advantage of using 'register' storage class for variables?
Q6
Which storage class is used for local variables?
Q7
What is the storage duration of a variable with 'auto' storage class?
Q8
What is the maximum scope of a variable with 'static' storage class?
Q9
When is memory allocated for a 'static' variable in C?
Q10
What is the default storage class for global variables?
Q11
In which storage class is the variable's storage duration limited to the function where it's declared?
Q12
What is the primary difference between 'auto' and 'register' storage classes?
Q13
Which storage class specifies automatic storage duration?
Q14
What is the primary purpose of the 'static' storage class?
Q15
Which storage class allocates memory and retains its value between function calls?
Q16
Which storage class should be used for a variable that should be accessed quickly and frequently?
Q17
scanf() is a predefined function in. . . . . . . .header file.
Q18
In which storage class is the variable's storage duration throughout the program's execution?
Q19
Which storage class is often used for variables with block scope within functions?
Q20
In which storage class are variables allocated memory in the data segment of the program's memory?
Q21
What storage class is typically used for function definitions in header files?
Q22
Which storage class is used for function arguments by default?
Q23
Which storage class is used to define variables that are not initialized to any default value?
Q24
What storage class should be used for a variable that needs to be shared across multiple source files?
Q25
When does a 'register' storage class make sense to use?