Computer Science, asked by aditi6456, 1 year ago

Definition of types of constructor in easy language

Answers

Answered by TonightGamer73
0

Answer:

Types of constructors in C++

Default Constructor or Zero argument constructor. Parameterized constructor. Copy constructor. Conversion constructor.

Answered by Anonymous
0

Answer:

A constructor is called automatically when we create an object of class. ... Let us see types of constructor. A constructor is a special type of function with no return type. Name of constructor should be same as the name of the class. We define a method inside the class and constructor is also defined inside a class.

Similar questions