C++ Programming Question:

Download Job Interview Questions and Answers PDF

What is an explicit constructor?

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

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.

Download C++ Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is a mutable member?What is the Standard Template Library (STL)?