Question: Choose the C++ statement below that will recover memory pointed to by turkey_trot declared as: unsigned int* turkey_trot = new unsigned int[7]; delete[] turkey_trot;
Choose the C++ statement below that will recover memory pointed to by turkey_trot declared as: unsigned int* turkey_trot = new unsigned int[7]; delete[] turkey_trot; turkey_trot = nullptr; delete turkey_trot; delete(turkey_trot);
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
The correct statement to recover the memory pointed to by turkeytrot is d... View full answer
Get step-by-step solutions from verified subject matter experts
