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 |
How many bit combinations are there in a byte?
Will the following program execute?
How do you declare A pointer to a function which receives nothing and returns nothing
How const int *ourpointer differs from int const *ourpointer?
Is c++ slower than c?
What is the difference between the functions rand(), random(), srand() and randomize()?
How a new operator differs from the operator new?
Explain RAII (Resource Acquisition Is Initialization).
Difference between shift left and shift right?
What is private inheritance?
Can we delete this pointer in c++?
why and when we can declar member fuction as a private in the class?