Question Detail

What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration
Similar Questions :

1. Which is not a correct variable type

  • float
  • int
  • double
  • real

2. Can we overload constructors in C++

  • Yes
  • No

3. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

4. Meaning of PDB

  • Physical Database File
  • Program Database File
  • Program Direct File
  • None of above

5. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&
Read more from - C++ Programming Questions Answers - Chapter 1