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. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

2. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual

3. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

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

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

5. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or
Read more from - C++ Programming Questions Answers - Set 2