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. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

2. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array

3. Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void

4. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static

5. Can we define array of classes in c++ ?

  • Yes
  • No
Read more from - C++ Programming Questions Answers - Set 2
Post a comment