How to construct virtual constructor
Answer Posted / vishwa
there is no need to use vitual constructors in C++.
because the construction of the class tree will be happened
from the base class to child class.
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What are namespaces in c++?
What is virtual function? Explain with an example
Implement stack operations with pointers with appropriate exception checks.
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
What are the two types of comments, and how do they differ?
What are the main features of c++?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
What does int * mean in c++?
Explain the extern storage classes in c++.
Why do we use using namespace std in c++?
What are friend functions in C++?
What sorting algorithm does c++ use?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What is array in c++ example?