adplus-dvertising
frame-decoration

Question

If extern variable is initialized with the declaration then _______________________

a.

Also the header file with definition is required

b.

The header file with definition must be included

c.

There is no need to include any other header file for definition

d.

The extern variable produces compile time error

Answer: (c).There is no need to include any other header file for definition

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If extern variable is initialized with the declaration then _______________________

Similar Questions

Discover Related MCQs

Q. If the definition is given in the header file that we include then ________________

Q. Which is the correct syntax for extern function declaration?

Q. Which is the correct syntax for extern variable declaration?

Q. Due to what, is the memory allocated for the extern variables?

Q. Even if a variable is not declared as extern, it is extern by default. (True/False)

Q. Whenever a function is declared in a program _____________________

Q. Which condition is true if extern variable is used in a file?

Q. What does a header file contain for an extern variable?

Q. To use extern variable _____________________

Q. Which among the following is true for the variables?

Q. Which among the following is a correct statement for variables?

Q. What is extern variable?

Q. How are automatic variables different from the instance variables?

Q. In perl, using which operator are the local variables created?

Q. Which error is produced if the automatic variables are used without declaration?

Q. The automatic variables _________________________

Q. Does java contain auto or register keywords?

Q. Constructor of automatic variables is called ____________________

Q. What values does uninitialized automatic variables contain?

Q. All variables declared within a block ____________________