• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 1

What are the uses of destructor's in c++?

What do destructor 's actually do during runtime? Is it exactly the opposite of constructors?

c++destructor
5th Oct 2017, 5:19 PM
Sophia
2 Réponses
+ 11
[https://www.sololearn.com/Discuss/675544/why-is-destructor-used-in-c] [https://www.sololearn.com/Discuss/460694/why-do-we-need-constructors-and-destructors] [https://www.sololearn.com/Discuss/1392/concept-of-destructor] [https://www.sololearn.com/Discuss/15705/what-exactly-is-the-use-of-constructors-and-destructors] [https://www.sololearn.com/Discuss/30725/what-is-the-importance-of-constructors-and-destructors-and-what-do-they-do] [https://www.sololearn.com/Discuss/37277/why-is-a-destructor-called-when-an-object-is-created] [https://www.sololearn.com/Discuss/60972/what-is-the-difference-between-constructor-and-destructor]
5th Oct 2017, 5:27 PM
Babak
Babak - avatar
+ 1
Thank you. @Babak Sheykhan
10th Oct 2017, 8:04 PM
Sophia

Vous avez souvent des questions comme celle-ci ?

Apprenez de manière plus efficace, gratuitement :

  • Introduction à Python

    7.1M apprenants

  • Introduction à Java

    4.7M apprenants

  • Introduction à C

    1.5M apprenants

  • Introduction à HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes
есть кто на русском разговаривает?
0 Votes