What is constructer and destructor in c++?
Answers
Answered by
1
Answer:
Constructors are special class functions which performs initialization of every object. The Compiler calls the Constructor whenever an object is created.
Whereas, Destructor on the other hand is used to destroy the class object.
Answered by
0
Explanation:
Constructors are special class functions which performs initialization of every object. The Compiler calls the Constructor whenever an object is created. ... Whereas, Destructor on the other hand is used to destroy the class object.
Similar questions