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

write a C++ programming using for loop: * * * * * * * * * *

4 Answers   TCS,


What is the default width for ouputting a long integer using the insertion operator?

0 Answers  


write a program to insert an element into an array

26 Answers   TCS,


Where are setjmp and longjmp used in c++?

0 Answers  


Which format specifier is used for printing a pointer value?

0 Answers  


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

0 Answers  


How do you clear a buffer in c++?

0 Answers  


How size of a class can be calulated?

2 Answers  


How a new operator differs from the operator new?

0 Answers  


What are move semantics?

0 Answers  


Define a constructor - what it is and how it might be called (2 methods)?

0 Answers  


List the types of polymorphism in c++?

0 Answers  


Categories