Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. What is the use of Namespace?
  2. A.
    To encapsulate the data
    B.
    To structure a program into logical units.
    C.
    Both a and b
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The main aim of the namespace is to understand the logical units of the program and to make the program so robust.


Be The First To Comment