Multiple choice

Which of the following is one of the special properties of a destructor function?

  1. There can be only one destructor function for a class.

  2. Destructor functions are not invoked automatically when the objects are destroyed.

  3. Arguments can be provided to a destructor.

  4. A destructor function can return value.

  5. It can be declared in the private section of a class.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is the only one special property of a destructor function.