What is a memory leak? What is a segmentation fault?

The memory leak refers to the uncleared memory mat builds up across me lifetime of the process. When it comes to a huge value me system stalls its execution due to me unavailability of the memory. The segmentation fault on the other hand refers to me condition when our program tries to access a memory space that has already been freed up.

Be the first to comment

Leave a Reply

Your email address will not be published.


*