Answer Posted / 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 |
Post New Answer View All Answers
What do you mean by friend class & friend function in c++?
What do you mean by inheritance in c++?
What is the standard template library (stl)?
Explain terminate() function?
How would you obtain segment and offset addresses from a far address of a memory location?
What is difference between class and function?
What is the return value of the insertion operator?
Why can templates only be implemented in the header file?
Why should you learn c++?
Why Pointers are not used in C++?
What is a multiset c++?
What are different types of loops in c++?
Difference between pass by value and pass by reference?
What is a friend function in c++?
How to implement is-a and has-a class relationships?