Answer Posted / hrpynux@gmail.com
Destructors in C++ are members functions in a class that delete an object. They are called when the class object goes out of scope such as when the function ends, the program ends, a delete variable is called etc. ... Also, destructors have the same name as their class and their name is preceded by a tilde(~).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain Constructor and destructor?
Write a program in C# for checking a given number is PRIME or not.
What is a partial class in c#?
Explain the working of serialization?
What is the difference between first and firstordefault?
Can properties be overloaded in c#?
What is difference between property and variable in c#?
How we convert private assembly into public assembly?
Which programming language is best for desktop applications?
Is string null or empty?
Which is better python or c#?
What are the applications of c#?
Why do we need constructors?
List the fundamental oop concepts?
If casting fails what type of exception is thrown?