Answer Posted / malini
There is no concept like Virtual Constructor and where as
Constructor cant be virtual. Constructor is a code which is
responsible for creating a instance of a class and it cant
assigned to any other object by using appending
keyword 'virtual'
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
What is the use of setprecision in c++?
What is nested class in c++?
What are the 4 types of library?
What is format for defining a structure?
Can notepad ++ run c++?
What is class in c++ with example?
What is an operator in c++?
How do you write a function that can reverse a linked-list?
What are the benefits of oop in c++?
How a new element can be added or pushed in a stack?
What is pure virtual function? Or what is abstract class?
What are maps in c++?
What is meant by forward referencing and when should it be used?
How would perform Pattern Matching in C++?