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 abstract class

  • Whose objects cant be created
  • Whose objects can be created
  • Depends on class
  • None of above

2. Which is not a correct variable type

  • float
  • int
  • double
  • real

3. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

4. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8

5. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment