Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What problem does the namespace feature solve?



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

Post New Answer

More C++ General Interview Questions

What is an undefined behavior and sequence points

0 Answers  


What is a virtual destructor?

2 Answers  


When volatile can be used?

3 Answers   Symphony,


Is it possible to write a c++ template to check for a function's existence?

0 Answers  


Will c++ be replaced?

0 Answers  


What are C++ inline functions?

1 Answers  


What is the use of namespace std in C++?

0 Answers   Hexaware,


Define precondition and post-condition to a member function?

1 Answers  


What is runtime errors c++?

0 Answers  


Why is main an int?

0 Answers  


What is the most powerful coding language?

0 Answers  


How would perform Pattern Matching in C++?

0 Answers   Genpact,


Categories