Technical Discussion :: C
4. What is memory leak?
Answer:
a failure in a program to release discarded memory, causing impaired performance or failure.
Asked In :: TCS Sopra Steria
a failure in a program to release discarded memory, causing impaired performance or failure.
a failure in a program to release discarded memory, causing impaired performance or failure.
whenever we fail to release memory allocated to some variable by using malloc operation the memory remains occupied even if our program terminated .The memory cant be used by any other program unless the os is restarted .