What problem does the namespace feature solve?
Answer / nimish singh
Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library's external declarations with a unique namespace that eliminates the potential for those collisions.
This solution assumes that two library vendors don't use the same namespace identifier, of course.
Is This Answer Correct ? | 0 Yes | 0 No |
What is c++ manipulator?
Write syntax to define friend functions in C++.
Is there finally in c++?
When a function is made inline. Write the situation where inline functions may not work.
Is c++ a programming language?
What is helper in c++?
what is data abstraction in C++?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
How are Structure passing and returning implemented by the compiler?
Will c++ be replaced?
What is :: operator in c++?
Define token in c++.