Question
a.
All the header files declare it
b.
Only few required files declare it
c.
All header files declared it if required
d.
Only one header file should declare it
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which condition is true if extern variable is used in a file?
Similar Questions
Discover Related MCQs
Q. What does a header file contain for an extern variable?
View solution
Q. To use extern variable _____________________
View solution
Q. Which among the following is true for the variables?
View solution
Q. Which among the following is a correct statement for variables?
View solution
Q. What is extern variable?
View solution
Q. How are automatic variables different from the instance variables?
View solution
Q. In perl, using which operator are the local variables created?
View solution
Q. Which error is produced if the automatic variables are used without declaration?
View solution
Q. The automatic variables _________________________
View solution
Q. Does java contain auto or register keywords?
View solution
Q. Constructor of automatic variables is called ____________________
View solution
Q. What values does uninitialized automatic variables contain?
View solution
Q. All variables declared within a block ____________________
View solution
Q. The static variables of a function ________________
View solution
Q. Where are the automatic variables stored if another function is called in between the execution of program?
View solution
Q. If an automatic variable is created and then a function is called then ________________
View solution
Q. Which among the following is true for automatic variables in general?
View solution
Q. Scope of an automatic variable _______________
View solution
Q. The memory for automatic variables ___________________
View solution
Q. What are automatic variables?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented 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!