download Mastguru Android App

Question Detail

What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends
Similar Questions :

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

  • derived class
  • base class
  • sub class
  • basic class

2. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

3. Destructors are called ?

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

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

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

5. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment