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
What do c++ programmers do?
What is the difference between prefix and postfix versions of operator++()?
What are the advantages of c++? Explain
Write about the various sections of the executable image?
Can a constructor be private?
What is function overriding in c++?
Is c++ double?
What are enumerations?
How are Structure passing and returning implemented by the compiler?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
Explain the register storage classes in c++.
How to declare an array of pointers to integer?
Write a program to find the reverse Fibonacci series starting from N.
If all is successful, what should main return a) 0 b) 1 c) void
Why c++ does not have finally?