Which of the following constructors are provided by the C++ compiler if not defined in a class?

a) Copy constructor
b) Default constructor
c) Assignment constructor
d) All of the mentioned

1 thought on “Which of the following constructors are provided by the C++ compiler if not defined in a class?”

  1. d
    Explanation: If a programmer does not define the above constructors in a class the C++ compiler by default provides these constructors to avoid error on basic operations.

Leave a Comment