What are destructors?
Answer / Raj Veer Singh
Destructors in C++ are special functions that are automatically called when an object goes out of scope or is deleted. They are used to clean up any resources (such as memory, files, database connections) that were allocated by the object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is oops and c++ same?
Keyword mean in declaration?
What about Virtual Destructor?
why we cant create array of refrences
Is atoi safe?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
Why c++ is not a pure oop language?
How one would use switch in a program?
What is the best c++ ide?
What is private public protected in c++?
Explain shallow copy?
founder of c++
7 Answers Microtek, TCS, TeleCommand,