Question Detail

The default visibility mode while inheriting is ?

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

1. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

2. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

3. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

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. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array
Read more from - C++ Programming Questions Answers - Set 2