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 |
What is atoi?
What is the difference between object-oriented programming and procedural programming?
reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it
Can constructor be static in c++?
Where the memory to the static variables is allocated?
What is the difference between the functions rand(), random(), srand() and randomize()?
Why do we use double in c++?
Who invented turbo c++?
What are the rules for naming an identifier?
Why c++ is called oop?
Profiler in projects?
Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?