Math, asked by gogeta67, 4 months ago

Write a C++ program to demonstrate the concept of constructors, destructors.

[show the order in which constructor and destructors are called]​

Answers

Answered by Anonymous
5

Answer:

Constructors and Destructors in C++ Constructors are special class functions which performs initialization of every object. ... Constructors initialize values to object members after storage is allocated to the object. Whereas, Destructor on the other hand is used to destroy the class object.

Similar questions