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 a set in c++?
What are virtual functions in c++?
What is the use of dot in c++?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Explain storage qualifiers in c++.
Program to check whether a word is a sub-string or not of a string typed
Explain selection sorting. Also write an example.
What are shallow and deep copies?
How a pointer differs from a reference?
How new/delete differs from malloc()/free?
Write about the various sections of the executable image?
Can you declare an array without a size in c++?
Define a conversion constructor?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero