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


Please Help Members By Posting Answers For Below Questions

What is the difference between #import and #include?

671


Can I uninstall microsoft c++ redistributable?

685


Why null pointer is used?

674


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

759


Write about the stack unwinding?

730






What is null pointer and void pointer?

710


Name the operators that cannot be overloaded in C++?

687


What is the size of integer variable?

686


What are built-in functions? What is the syntax for the definition?

675


What is a pointer how and when is it used?

676


What are the different types of polymorphism in c++?

701


Why is c++ still best?

644


What is ctime c++?

684


Is c++ faster than c?

687


What is the use of class in c++?

664