+ 1
C++
destructors called when data is deleted ? why it called for retriving the deleted data ?
1 Answer
+ 1
Destructors aren't called when data is deleted. Destructors are called to delete existing data.
destructors called when data is deleted ? why it called for retriving the deleted data ?