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 a conversion constructor?



What is a conversion constructor?..

Answer / munendra kumar

A constructor that accepts one argument of a different type.

The compiler uses this idiom as one way to infer conversion rules for your class. A constructor with more than one argument and with default argument values can be interpreted by the compiler as a conversion constructor when the compiler is looking for an object of your constructor's type and sees an object of the type of the constructor's first argument.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How would you call C functions from C++ and vice versa?

0 Answers   Genpact,


Is there any difference between int [] a and int a [] in c++?

0 Answers  


Define basic type of variable used for a different condition in C++?

0 Answers  


What are pointer-to-members? Explain.

0 Answers   iNautix,


an integer constant must have atleast one a) character b) digit c) decimal point

0 Answers  


How do you declare A pointer to a function which receives nothing and returns nothing

0 Answers  


Can you please explain the difference between static and dynamic binding of functions?

0 Answers  


What is the full form of dos?

0 Answers  


What is istream c++?

0 Answers  


What is function declaration in c++ with example?

0 Answers  


Differentiate between late binding and early binding. What are the advantages of early binding?

0 Answers  


Difference between delete and free.

0 Answers  


Categories