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 |
What are libraries in c++?
What is pointer in c++ with example?
What is buffering in c++?
What is protected inheritance?
What is the size of integer variable?
What language is a dll written in?
What is the extraction operator and what does it do?
Why do we use using namespace std in c++?
When should you use global variables?
Are strings immutable in c++?
What is a forward referencing and when should it be used?
what is Member Functions in Classes?