download Mastguru Android App

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. what is a class in c++

  • Class in a collection of objects
  • Class has noting to do with object
  • It just have declaration of few variables
  • None of above

2. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8

3. cout is declared in the _____ standard file within the std namespace

  • outstream
  • stdin
  • iostream
  • None of above

4. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above

5. If value has not type, then the pointer pointing to this value will be known as

  • Empty pointer
  • Null pointer
  • Void pointer
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment