C++ Programming Question: Download C++ Programming PDF

What is an explicit constructor?

Tweet Share WhatsApp

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 PDF Read All 120 C++ Programming Questions
Previous QuestionNext Question
What is a mutable member?What is the Standard Template Library (STL)?