When can you tell that a memory leak will occur?



When can you tell that a memory leak will occur?..

Answer / 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

More C++ General Interview Questions

Tell me difference between constant pointer and pointer to a constant.

0 Answers   Honeywell, Zomato,


string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring

1 Answers   Quark,


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

0 Answers  


What does iomanip mean in c++?

0 Answers  


Why do we use using namespace std in c++?

0 Answers  






What is a hashmap c++?

0 Answers  


Is java the same as c++?

0 Answers  


Differentiate between a template class and class template in c++?

0 Answers  


What is the use of main function in c++?

0 Answers  


which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE

5 Answers  


What is ios :: in in c++?

0 Answers  


What is the use of endl in c++ give an example?

0 Answers  


Categories