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 do you know about near, far and huge pointer?
What is the use of structure in c++?
what is Loop function? What are different types of Loops?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is boyce codd normal form in c++?
Is c++ harder than java?
What are destructors?
How would you use the functions sin(), pow(), sqrt()?
How would you find out if a linked-list is a cycle or not?
What is a modifier in c++?
What is general format for a prototype?
What are the 4 types of library?