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 |
Which algorithm do you like the most? Why?
Write a program to find the reverse Fibonacci series starting from N.
List the advantages of inheritance.
Differentiate between structure and class in c++.
Difference between class and structure.
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
Why do we learn c++?
Which software is best for coding?
What is the iunknown interface?
What is long in c++?
How to avoid changing constant values?
What is difference between rand () and srand ()?