Saturday, 7 July 2018

C++ FAQ

is it possible to have virtual constructors ?



can i have pure virtual destructors?
Yes.. it is possible to have pure virutual destructors in Abstract class.


what is a copy constructor?



It will call below scenarios



What is deep copy?


Deep copy creates a copy of the dynamically allocated objects too.


what is the use of virtual functions


















No comments:

Post a Comment