What is memory leak in c?



What is memory leak in c?..

Answer / Ankur Kumar Dixit

'Memory leak' in C refers to a situation where memory allocated with 'malloc', 'calloc', or 'realloc' functions, among others, is not properly de-allocated using the 'free' function, leading to an excessive use of memory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Explain c preprocessor?

1 Answers  


What is the advantage of an array over individual variables?

1 Answers  


What is Bitwise Operator and how it works?

1 Answers  


What is the scope of static variable in c?

1 Answers  


Is register a keyword in c?

1 Answers  


What is return type in c?

1 Answers  


Write a program of advanced Fibonacci series.

1 Answers   Aspiring Minds,


How can I manipulate strings of multibyte characters?

1 Answers  


How to throw some light on the b tree?

1 Answers  


If the static variable is declared as global, will it be same as extern?

1 Answers   Samsung,


What is a scope resolution operator in c?

1 Answers  


How can a program be made to print the line number where an error occurs?

1 Answers  


Categories