constructor
destructor
destroyer
terminator
Answer is Wrong!
Answer is Right!
The correct answer is B. destructor.
A destructor is a special function that is called automatically when an object is destroyed. It is used to clean up any resources that the object may have allocated, such as memory or files.
A constructor is a special function that is called automatically when an object is created. It is used
to initialize the object’s data members.A destroyer is not a valid option.
A terminator is not a valid option.