Discussion :: C-MCQs
- Which is false ?
A.
A variable defined once can be defined again with different scope
|
B.
A single variable cannot be defined with two different types in the same scope
|
C.
A variable must be declared and defined at the same time
|
D.
A variable refers to a location in memory
|
Answer : Option C
Explanation :
It is not an error if the variable is declared and not defined. For example “ extern declarations.
Be The First To Comment