Answer Posted / beena
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can you quickly find the number of elements stored in a dynamic array?
What is overriding vs overloading?
What are the advantages of using typedef in a program?
Why namespace is used in c++?
How do you clear a map in c++?
What is difference between n and endl in c++?
What are advantages of c++?
What is a static element?
Describe protected access specifiers?
What type of loop is a for loop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
what is template and type convertion
Should you pass exceptions by value or by reference?
What is a template in c++?
What are function prototypes?