What is Memory leakage ?
Answers were Sorted based on User's Feedback
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 |
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 |
write a program to arrange the contents of a 1D array in ascending order
What is the difference between int main and void main?
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?
what is diference between return 0 and return NULL??
Explain what is page thrashing?
#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?
how to make a scientific calculater ?
what does ‘Bus Error’ mean?
How can I find leaf node with smallest level in a binary tree?
What is function in c with example?