Answer Posted / 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 |
Post New Answer View All Answers
Explain the isa and hasa class relationships.
What is name hiding in c++?
Why do we need function?
When should you use global variables?
Does c++ have finally?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
What are the storage qualifiers?
Which function should be used to free the memory allocated by calloc()?
How would you find out if a linked-list is a cycle or not?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
What is stack unwinding?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
what does the following statement mean? int (*a)[4]
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What is class in c++ with example?