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
5.6k points