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 is the use of Namespace in c++.

Answer Posted / achal ubbott

Template feature came to c++ quite later from its birth. It
basically helps some big coders.
Now if u buy 2 libraries from market and both of these
define a class Ethernet; Then if u use both of them in your
code the copiler will give some redeclaration of class
errors. So this Namespace feature helps the coder to
differentiate among the two.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the copy constructor differ from the assignment operator (=)?

1150


What is the benefit of encapsulation?

1078


What is prototype in c++ with example?

1152


What is a memory leak c++?

1140


Why is c++ not purely object oriented?

1013


What is while loops?

1053


Why do you use the namespace feature?

1092


Using a smart pointer can we iterate through a container?

1084


What is a lambda function c++?

1116


What does flush do?

991


How do you establish a has-a relationship?

1113


What is scope operator in c++?

1085


What are static type checking?

1056


What is the use of map in c++?

1152


What is searching? Explain linear and binary search.

998