Question: Now write the complementary function - - as called from the clean - up branch above - - that can deallocate pointers allocated by the
Now write the complementary function as called from the cleanup branch above that can deallocate pointers allocated by the above function. Hint: how can you tell which version of operator delete to use?Hint : is there something you should always do when deallocating dynamic pointers?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
