Sail E0 Webinar
Question
Which is false ?
Options:
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


It is not an error if the variable is declared and not defined. For example “ extern declarations.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers