Question Detail

What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve
Similar Questions :

1. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

2. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

3. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

4. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

5. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer
Read more from - C++ Programming Questions Answers - Set 2