Answer Posted / 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 View All Answers
Does improper inheritance have a potential to wreck a project?
What are manipulators used for?
What is a static member?
Why c++ is so important?
Why is c++ difficult?
Eplain extern keyword?
What does scope resolution operator do?
What is object in c++ wikipedia?
Explain the use of this pointer?
Define basic type of variable used for a different condition in C++?
Describe linkages and types of linkages?
What is ofstream c++?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is function overloading c++?
Explain public, protected, private in c++?