writa program in c++ to print array using destructor
Answers
Answered by
5
Explanation:
Destructor function is automatically invoked when the objects are destroyed.
It cannot be declared static or const.
The destructor does not have arguments.
Answered by
2
Answer:
Meaning, a destructor is the last function that is going to be called before an object is destroyed.
Similar questions