Question Detail

The default visibility mode while inheriting is ?

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

1. Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited

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

  • protected
  • switch
  • goto
  • for

3. Inheritance is transitive in nature.

  • True
  • False

4. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

5. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above
Read more from - C++ Programming Questions Answers - Set 2