adplus-dvertising
frame-decoration

Question

What does a header file contain for an extern variable?

a.

Only declaration of variables

b.

Only definition of variables

c.

Both declaration and definition of variables

d.

Neither declaration nor definition

Answer: (a).Only declaration of variables

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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 ____________________

Q. The static variables of a function ________________

Q. Where are the automatic variables stored if another function is called in between the execution of program?

Q. If an automatic variable is created and then a function is called then ________________

Q. Which among the following is true for automatic variables in general?

Q. Scope of an automatic variable _______________

Q. The memory for automatic variables ___________________

Q. What are automatic variables?

Q. The delete operator __________________________