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

Write a corrected statement in c++ so that the statement will work properly. x =+ 7;

2 Answers  


What is difference between rand () and srand ()?

0 Answers  


What is the size of integer variable?

0 Answers  


What programming language should I learn first?

0 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,






What is c++ stringstream?

0 Answers  


How can we check whether the contents of two structure variables are same or not?

0 Answers  


What is class and structure in c++?

0 Answers  


What is a buffer c++?

0 Answers  


What should main() return in c and c++?

0 Answers  


What is a node class?

1 Answers  


Explain the problem with overriding functions

0 Answers  


Categories