Which is the destructor sumbol? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Which is the destructor sumbol?

I had heard this question few times, but I don't know.please help me out

20th Feb 2019, 3:27 PM
ADARSH
ADARSH - avatar
4 Answers
+ 2
Destructor sumbol is ~, so if u need use destructor use ~name
20th Feb 2019, 9:41 PM
Игорь
+ 5
~ this is the destructor symbol....you will learn more about this in more on classes in this c++ tutorial....
20th Feb 2019, 3:38 PM
Thanigai Velan
Thanigai Velan - avatar
+ 4
~
21st Feb 2019, 9:23 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
+ 2
the destructor symbol like eg: the destructor for class integer can be defined as : ~integer() {}
17th Mar 2019, 6:15 AM
Suraj
Suraj - avatar