72.3k views
3 votes
When no class constructors are supplied by the author of a class, C++ itself supplies a default constructor that does nothing.

Select one:

a. TRUE

b. FALSE

User Linger
by
5.4k points

1 Answer

7 votes

Answer:

The correct answer for the given question is an option(a) i.e "TRUE".

Explanation:

A constructor is those who initializes the object of a class it means they are used to initializes the member variable of a class.

When no constructor is supplied by the author in the class. There is always a default constructor is created when we create an object for the class. The object of the class automatically created a default constructor.

Hence the given statement is "true" .

User Stefdelec
by
4.9k points