What about Virtual Destructor?

Answer Posted / guest

Virtual Destructor can be called at runtime and respected
destructor function will be called depending upon the type
of object calling to.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between overloading and overriding?

606


Write a note about the virtual member function?

608


Why is c++ difficult?

616


Is ca high or low level language?

588


Do class declarations end with a semicolon? Do class method definitions?

622






Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

965


How new/delete differs from malloc()/free?

622


What is a .h file c++?

534


Can you declare an array without a size in c++?

578


Why is main function important?

591


Why do we need function?

606


Describe protected access specifiers?

679


Which is best ide for c++?

572


how to explain our contribution in the project?

3082


Why do we need templates?

542