Answer Posted / vadivel
No, we cannot have virtual constructor because at this time
(during object creation or intialization) virtual table not
yet created.
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
What is a container class? What are the types of container classes in c++?
Explain explicit container.
When does a 'this' pointer get created?
What are the different types of polymorphism in c++?
What is a down cast?
Tell me difference between constant pointer and pointer to a constant.
How can a struct in c++ differs from a struct in c?
What is the difference between a declaration and a definition?
What is function overloading in C++?
How do you write a function that can reverse a linked-list?
What is the use of typedef?
What are default parameters? How are they evaluated in c++ function?
What is an html tag?
Explain terminate() function?
what are the iterator and generic algorithms.