When can you tell that a memory leak will occur?

Answer Posted / harendra pal

A memory leak occurs when a program loses the ability to free a block of dynamically allocated memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define stacks. Provide an example where they are useful.

778


How does java differ from c and c++?

726


How can a struct in c++ differs from a struct in c?

806


Explain the difference between c++ and java.

862


How would you call C functions from C++ and vice versa?

829


Is c++ a software?

928


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

812


How to access a variable of the structure?

783


What is a flag in c++?

812


What is the difference between the parameter to a template and the parameter to a function?

897


Why is main an int?

745


Show the declaration for a pointer to function returning long and taking an integer parameter.

792


What is the use of structure in c++?

755


What are the storage qualifiers?

893


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

758