C++ MQCs with Explanation (CHAPTER 6: CONSTRUCTORS AND DESTRUCTORS)

Which of the following statements is FALSE?

  1. A class can have only default constructor
  2. A default constructor can only be supplied by the compiler
  3. A default constructor may be declared without any parameters
  4. All parameters of a default constructor can have default values



Answer: 
Option d:All parameters of a default constructor can have default values

Explanation Here

Post a Comment

0 Comments