Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Which is false ?
  2. 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

    View Answer

    Workspace

    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