Answer Posted / kavitha
If any situation like that the constructor should build the
objects and should not get used for carrying out
conversions, In that situation we are required to use the
explicit keyword with the constructor.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain public, protected, private in c++?
Explain mutable storage class specifier.
What are the types of container classes?
Will the following program execute?
what is a reference variable in C++?
Is there a c++ certification?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
How do you add an element to a set in c++?
Differentiate between realloc() and free().
Can we change the basic meaning of an operator in c++?
Are strings mutable in c++?
What are the implicit member functions of class?
What is input operator in c++?
What are friend functions in C++?
Is c++ a pure oop language?