Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. The name of the variable used in one function cannot be used in another function?
  2. A.
    True
    B.
    False
    C.
    May be
    D.
    None of the mentioned.

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    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.


Be The First To Comment