What is an explicit constructor?



What is an explicit constructor?..

Answer / nimish singh

A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It's purpose is reserved explicitly for construction.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is c strings syntax?

0 Answers  


What is the need of a destructor? Explain with the help of an example.

0 Answers  


What is meant by iomanip in c++?

0 Answers  


How do I open binary files?

1 Answers  


What is stl containers in c++?

0 Answers  


Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number

1 Answers   TATA, TCS,


What are manipulators used for?

0 Answers  


How do you declare a set in c++?

0 Answers  


Is c++ a software?

0 Answers  


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

0 Answers  


What is flag in computer?

0 Answers  


What are member functions used in c++?

0 Answers  


Categories