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. cout is declared in the _____ standard file within the std namespace

  • outstream
  • stdin
  • iostream
  • None of above

2. Which of the following functions below can be used Allocate space for array in memory

  • calloc()
  • malloc()
  • realloc()
  • All of above

3. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

4. What is the meaning of base class in C++

  • Another class got inherit from this class
  • It inherit other class
  • It has a pointer variable
  • It is the first class declared

5. 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
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment