Why constructor is called special type of member function?
Answers
Answered by
2
Answer:
Constructors is a special member function of class and it is used to initialize the objects of its class. ... It is named as "constructor" because it constructs the value of data member of a class. Initial values can be passed as arguments to the constructor function when the object is declared
Answered by
0
Answer:
this answer will be helpful
Attachments:
Similar questions