1.

Identify the correct statement.(a) Namespace is used to group class, objects and functions(b) Namespace is used to mark the beginning of the program(c) A namespace is used to separate the class, objects(d) Namespace is used to mark the beginning & end of the programThe question was posed to me in a national level competition.I want to ask this question from Namespaces topic in division Functions, Namespaces & Exceptions in C++ of C++

Answer»

The correct ANSWER is (a) Namespace is USED to group class, objects and functions

The BEST I can explain: Namespace allows you to group class, objects, and functions. It is used to divide the GLOBAL scope into the sub-scopes.



Discussion

No Comment Found

Related InterviewSolutions