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 |
Explain which function in c can be used to append a string to another string?
What is the difference between c and python?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
How do you override a defined macro?
Find the largest number from the given 2 numbers without using any loops and the conditional operator.
Describe advantages and disadvantages of the various stock sorting algorithms
How do you define a string?
write a function which accept two numbers from main() and interchange them using pointers?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
what is the structure pointer?
writ a program to compare using strcmp VIVA and viva with its output.
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }