What about Virtual Destructor?
Answer / 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 |
How we can differentiate between a pre and post increment operators during overloading?
Is c++ still being used?
What language does google use?
What is null c++?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
implement stack using stack.h headerfile functions
1 Answers Exilant, GMG, Subex, University,
What's the best free c++ profiler for windows?
What is the basic structure of c++ program?
What is iterator in c++?
what is the use of Namespace in c++.
How are the features of c++ different from c?