Answer Posted / shashank agrawal
No, This is not possible because virtual is used for avoid
overriding and the constructor is called when the object of
that class has been created so in this case overriding is
not possible then to make the constructor as virtual is
useless.so we dont create it virtal.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the size of a vector?
what does the following statement mean? int (*a)[4]
What does n mean in c++?
What are the advantages of using pointers in a program?
Is dev c++ a good compiler?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What is null c++?
what you know about c++?
Why do we need pointers?
Do you know about latest advancements in C++ ?
What is the difference between an enumeration and a set of pre-processor # defines?
How to access a variable of the structure?
How do we balance an AVL Tree in C++?
What is a block in c++?
What is the role of C++ shorthand's?