What is the sequence of event when deallocating memory using-03168
What is the sequence of event(s) when deallocating memory using delete operator?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.8.
What is the sequence of event(s) when deallocating memory using delete operator?
Only block of memory is deallocated for objects
Only destructor is called for objects
Memory is deallocated first before calling destructor
Destructor is called first before deallocating memory