Question
a.
The source file must not be included in the new file code
b.
The source file itself must be used for new program
c.
The source file must be included in the new file
d.
The source file doesn’t matter for extern variables
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. To use extern variable _____________________
Similar Questions
Discover Related MCQs
Q. What does a header file contain for an extern variable?
View solution
Q. Which condition is true if extern variable is used in a file?
View solution
Q. Whenever a function is declared in a program _____________________
View solution
Q. Even if a variable is not declared as extern, it is extern by default. (True/False)
View solution
Q. Due to what, is the memory allocated for the extern variables?
View solution
Q. Which is the correct syntax for extern variable declaration?
View solution
Q. Which is the correct syntax for extern function declaration?
View solution
Q. If the definition is given in the header file that we include then ________________
View solution
Q. If extern variable is initialized with the declaration then _______________________
View solution
Q. Why are functions extern by default?
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!