Computer Science, asked by dj12387, 9 months ago


b) Differentiate C Vs C++.?

10 a) What is a Destructor? Explain with example.

Answers

Answered by Anonymous
1

Answer:

hope it will help you!!!

Explanation:

The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.

A destructor is a member function that is invoked automatically when the object goes out of scope or is explicitly destroyed by a call to delete. ... For example, the destructor for class String is declared: ~String()

plzzz mark me down as a brain list..

Similar questions