download Mastguru Android App

Question Detail

If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False
Similar Questions :

1. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above

2. Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

3. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

4. Which among following has invalid syntax ?

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

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