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 is the difference between while and do while loop?
How many ways can a variable be initialized into in C++?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What is constructor in C++?
What are the benefits of oop in c++?
When can I use a forward declaration?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Evaluate !(1&&1||1&&0) a) Error b) False c) True
How do you clear a map in c++?
What is name hiding in c++?
What do you mean by function pointer?
Difference between pass by value and pass by reference?
What is scope operator in c++?
what is multi-threading in C++?
Explain the concept of dynamic allocation of memory?