Question Detail

Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls
Similar Questions :

1. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

2. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

3. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False

4. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

5. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class
Read more from - C++ Programming Questions Answers - Set 2