1.

Even if a variable is not declared as extern, it is extern by default.(a) True(b) FalseI got this question by my school principal while I was bunking the class.This question is from Extern Variable in chapter Memory Allocation & Scope of Variable of Object Oriented Programming

Answer»

The correct option is (b) FALSE

Best explanation: The STATEMENT is false. The variables are not EXTERN by default. If those are made extern by default, then the memory will never be ALLOCATED for those extern variables. HENCE we make the variables extern explicitly.



Discussion

No Comment Found

Related InterviewSolutions