What is a memory leak? How to avoid it?
Memory leak occurs when programmers create a memory in heap and forget to delete it. ... To avoid memory leaks, memory allocated on heap should always be freed when no longer needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write programs for String Reversal & Palindrome check
What is sizeof array in c?
Explain what is the heap?
what is c programming?
Which is best book for data structures in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
write a program to delete an item from a particular location of an linear array?
Explain what does it mean when a pointer is used in an if statement?
What is equivalent to ++i+++j?
Is it possible to initialize a variable at the time it was declared?
write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+
Differentiate Source Codes from Object Codes