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. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

2. Declaring pointer more than one can cause

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

3. 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

4. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define

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

  • private
  • public
  • protected
  • depends
Read more from - C++ Programming Questions Answers - Chapter 1