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 |
Comment on assignment operator in c++.
How did c++ get its name?
Difference between Top down and bottom up approaches for a given project ?
14 Answers BSNL, CSC, HCL, HP, IIT, Infosys, Siemens,
What is ios in c++?
What are vtable and vptr?
Differentiate between structure and class in c++.
Is there structure in c++?
Can we use pointers in c++?
What is flush programming?
What is different in C++, compare with unix?
How do you initialize a string in c++?
What is the Standard Template Library?