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 |
How do I exit turbo c++?
What is the auto keyword good for in c++?
Is c++ an integer?
What is the hardest coding language to learn?
What is volatile and pragma? When they are used?
Will the following program execute?
Are strings mutable in c++?
what is smart pointer & use of the smart pointer ???
Explain the difference between struct and class in terms of access modifier.
What is a mutable member?
Why c++ does not have finally?
Describe the advantages of operator overloading?