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. Meaning of deed copy is

  • A deep copy creates a copy of the dynamically allocated objects too
  • A deep copy just copies the values of the data as they are
  • A deep copy creates a copy of the statically allocated objects too
  • Both A and C

2. Can we overload constructors in C++

  • Yes
  • No

3. Which is not C++ storage class

  • auto
  • register
  • static
  • iostream

4. Which type of variables can be referred from anywhere in the c++ code

  • All variables
  • Local variables
  • Universal variables
  • Global variables

5. \r is used for

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