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 are the storage qualifiers?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
Difference between an inspector and a mutator
Can I uninstall microsoft c++ redistributable?
What is a virtual destructor? Explain the use of it?
What is prototype in c++ with example?
What is data hiding c++?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What are the advantages of using friend classes?
What is scope operator in c++?
What is the use of 'using' declaration in c++?
Does c++ have string data type?
What is the need of a destructor? Explain with the help of an example.