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. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

2. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

3. What is polymorphism

  • Ability to take more than one form
  • Ability to destroy destructor
  • Ability to create constructor
  • None of above

4. Which among following has invalid syntax ?

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

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

  • All variables
  • Local variables
  • Universal variables
  • Global variables
Read more from - C++ Programming Questions Answers - Chapter 1