MCQs
Total Questions : 13
| Page 2 of 2 pages
Answer: Option C. -> A variable must be declared and defined at the same time
It is not an error if the variable is declared and not defined. For example “ extern declarations.
Answer: Option B. -> False
Since the scope of the variable declared within a function is restricted only within that function,
the above statement is false.
Answer: Option B. -> False
Since the scope of the variable declared within a function is restricted only within that function, the same name can be used to declare another variable in another function.