Question
a.
Scope of auto variable = local to block or function
Scope of register variable = local to block or function
Scope of static variable = local to block or function
Scope of extern variable = global or available to all functions and blocks
b.
Scope of auto variable = global or available to all functions and blocks
Scope of register variable = global or available to all functions and blocks
Scope of static variable = global or available to all functions and blocks
Scope of extern variable = local to block or function
c.
Scope of auto variable = global or available to all functions and blocks
Scope of register variable = local to block or function
Scope of static variable = global or available to all functions and blocks
Scope of extern variable = local to block or function
d.
Scope of auto variable = local to block or function
Scope of register variable =global or available to all functions and blocks
Scope of static variable =local to block or function
Scope of extern variable = global or available to all functions and blocks
Posted under C Programming
Scope of register variable = local to block or function
Scope of static variable = local to block or function
Scope of extern variable = global or available to all functions and blocks
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Find a correct statement.
Similar Questions
Discover Related MCQs
Q. Which among the following is a Local Variable?
View solution
Q. Which among the following is a Global Variable?
View solution
Q. Choose a correct statement about static variable.
View solution
Q. register float a = 3.14f;
Choose right statement.
View solution
Q. What is the difference between Declaration and Definition?
View solution
Q. Choose a correct statement regarding automatic variables.
View solution
Q. Operator % in C Language is called
View solution
Q. Output of an arithmetic expression with integers and real numbers is ___ by default.
View solution
Q. If both numerator and denominator of a division operation in C language are integers, then we get?
View solution
Q. Can you use C Modulo Division operator % with float and int?
View solution
Q. What is the priority of operators *, / and % in C language?
View solution
Q. In C language, which Operator group has more priority between (*, / and %) and (+, -) groups?
View solution
Q. Associativity of C Operators *, /, %, +, - and = is
View solution
Q. What is the Priority among (*, /, %), (+, -) and (=) C Operators?
View solution
Q. Choose a C Conditional Operator from the list.
View solution
Q. What is the other name for C Language ?: Question Mark Colon Operator?
View solution
Q. Choose a syntax for C Ternary Operator from the list.
View solution
Q. Choose a correct statement regarding C Comparison Operators.
View solution
Q. Choose a statement to use C If Else statement.
View solution
Q. Choose a correct C Statement using IF Conditional Statement.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Software Engineering
Learn about the systematic approach to developing software with our Software...
Java Programming
Level up your coding skills with our Java Programming MCQs. From object-oriented...