download Mastguru Android App

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. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

2. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

3. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

4. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

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

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment