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...

How to stop conversions among objects?

Answer Posted / kavitha

If any situation like that the constructor should build the
objects and should not get used for carrying out
conversions, In that situation we are required to use the
explicit keyword with the constructor.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespace std; and what is consists of?

1290


Should I learn c or c++ or c#?

1006


What are abstract data types in c++?

981


What is one dimensional array in c++?

1096


what are Access specifiers in C++ class? What are the types?

1228


What are the uses of static class data?

1184


What are keywords in c++?

1096


When does a 'this' pointer get created?

1089


Why is main function important?

1108


What is iterator in c++?

1106


List down the guideline that should be followed while using friend function.

1066


What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

1149


What is size of string in c++?

986


Explain the concept of memory leak?

1102


What is the copy-and-swap idiom?

1104