Home » C Programming » Variables » Question
  1. Which of the following statement is false?
    1. A variable must be declared and defined at the same time
    2. A variable defined once can be defined again with different scope
    3. A variable refers to a location in memory
    4. A single variable cannot be defined with two different types in the same scope
    5. None of these
Correct Option: A

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



Your comments will be displayed only after manual approval.