Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 10 (Q.No. 25)
25.
The return type for all destructors is
the class
void
the same as the first data in the class
None
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Ameya said:   2 years ago
While it's true that destructors don't return a value, specifying "void" explicitly is unnecessary and redundant. Anyone, please explain to me.

Post your comments here:

Your comments will be displayed after verification.