151k views
0 votes
What happens if a type is assigned to constructor or destructor?
c++​

1 Answer

2 votes
A constructor is called when an instance or object of the class is created.

It’s iss called whole object of the class is freed or deleted.
User Lorem
by
8.6k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.