how many parameters we can pass to destrocter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how many parameters we can pass to destrocter?

in c++ language.

14th Dec 2017, 5:26 AM
M. Fahad
M. Fahad - avatar
2 Answers
+ 19
A destructor can't have any parameters. So, the answer is zero.
14th Dec 2017, 5:28 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 9
Exactly zero parameters
14th Dec 2017, 9:19 AM
David Akhihiero
David Akhihiero - avatar