1.

What is the use of Namespace?(a) To encapsulate the data(b) To structure a program into logical units(c) Encapsulate the data & structure a program into logical units(d) It is used to mark the beginning of the programI got this question in an online quiz.I'd like to ask this question from Namespaces topic in section Functions, Namespaces & Exceptions in C++ of C++

Answer» CORRECT option is (B) To structure a program into LOGICAL UNITS

Best explanation: The main aim of the NAMESPACE is to understand the logical units of the program and to make the program so robust.


Discussion

No Comment Found

Related InterviewSolutions