Question Detail

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.
Similar Questions :

1. C++ is a ?

  • Procedural programming language
  • Structural programming language
  • Low level language
  • Object oriented programming language

2. The symbol ** __ .

  • can be overloaded by changing its datatype.
  • cannot be overloaded, as on overloading its meaning shall be changed.
  • can be overloaded.
  • cannot be overloaded as it is not a C++ operator.

3. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

4. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File

5. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve
Read more from - C++ Programming Questions Answers - Set 2