Question Detail

The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above
Similar Questions :

1. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

2. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded

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

  • Private
  • Public
  • Protected
  • Depends

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

  • protected
  • switch
  • goto
  • for

5. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared
Read more from - C++ Programming Questions Answers - Set 2