A class's __________ is called when an object is destroyed.

A. constructor
B. destructor
C. assignment function
D. copy constructor

Submitted by: Muhammad
Option B
destructor
Submitted by: Muhammad

Read Online C++ Constructors Job Interview Questions And Answers