What is Memory leakage ?

Answers were Sorted based on User's Feedback



What is Memory leakage ?..

Answer / deepak mundhada

when the memory gets allocated using dynamic memory function
like malloc(),realloc()and if we don't free memory using
free() function then this area can't be used by any user.so
this is called Memory leakage.

Is This Answer Correct ?    12 Yes 0 No

What is Memory leakage ?..

Answer / sathees kumar

when the memory gets allocated using dynamic memory function
like malloc(),realloc()and if we don't free memory using
free() function then this area can't be used by any user.so
this is called Memory leakage

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

write a program to arrange the contents of a 1D array in ascending order

4 Answers  


What is the difference between int main and void main?

0 Answers  


The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................

14 Answers   HOV Services, IBM, Potty,


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


What are local and global variables?

3 Answers  






what is diference between return 0 and return NULL??

3 Answers  


Explain what is page thrashing?

0 Answers  


#include<std.h> int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?

6 Answers  


how to make a scientific calculater ?

0 Answers  


what does ‘Bus Error’ mean?

1 Answers   ABC,


How can I find leaf node with smallest level in a binary tree?

1 Answers  


What is function in c with example?

0 Answers  


Categories