explain the function of default constructor in c++
Answers
Answered by
0
Answer:
it is the default constructor in c++
Explanation:
Constructors are functions of a class that are executed when new objects of the class are created. The constructors have the same name as the class and no return type, not even void. They are primarily useful for providing initial values for variables of the class.
Similar questions
Math,
6 months ago
English,
6 months ago
Hindi,
6 months ago
Social Sciences,
1 year ago
Biology,
1 year ago