Question Detail

Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited
Similar Questions :

1. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

2. Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above

3. Meaning of PDB

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

4. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above

5. Which is not a correct variable type

  • float
  • int
  • double
  • real
Read more from - C++ Programming Questions Answers - Chapter 1