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
Is java better than c#?
What are the different types of classes?
What is deferred execution in c#?
How to transpose multi-dimensional array?
What are the benefits of using the aggregate method in linq?
Why we use extension methods in c#?
Structs are largely redundant in c++. Why does c# have them?
Why do we use virtual methods in c#?
What is an escape sequence? Name some string escape sequences in c#.
What is appdomain in c#?
Which config file has all the supported channels/protocol?
How does yield return work c#?
What is a console in c#?
What is better C# or VB.NET?
Can you store different types in an array in c#?