A special member function of a class, which is invoked automatically whenever an object goes out of the scope is called

A) Constructor

B) Destructor

C) Friend function

D) None of the above

View Answer
Option – B.