Sail E0 Webinar
Question

When we are using heap operations what do we need to do to save the memory?


Options:
A .  rename the objects
B .  delete the objects after processing
C .  both a & b
D .  None of the mentioned
Answer: Option B

when you allocate memory from the heap, you must remember to clean up objects when you're 

done! Failure to do so is called a memory leak.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers