¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
do destructors have a return type?
3 Respuestas
+ 27
no.. they are generally used to delete something... they do not return anything :/
+ 1
No
+ 1
no as constructor and destructor are called special manager functions so they do not have return type