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 sorting algorithm does c++ use?
What are 2 ways of exporting a function from a dll?
How to defines the function in c++?
Write about the various sections of the executable image?
What is an undefined reference/unresolved external symbol error and how do I fix it?
Is there a sort function in c++?
Is swift better than c++?
What is the use of bit fields in structure declaration?
What are structs in c++?
List the advantages of inheritance.
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
How can we check whether the contents of two structure variables are same or not?
Is c++ map a hash table?
What is a try block?
Is c++ a dying language?