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

What type of question are asked in GE code writing test based on c++ data structures and pointers?

0 Answers  


What do you mean by pure virtual functions in C++? Give an example?

1 Answers  


How does com provide language transparency?

0 Answers  


What is the difference between std::vector and std::list

1 Answers  


What is iomanip c++?

0 Answers  


What is flush () in c++?

0 Answers  


structure contains int, char, float how it behaves for big endian and little endian?

1 Answers   BITS,


How do I run a program in notepad ++?

0 Answers  


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

0 Answers  


Why is main an int?

0 Answers  


Why do we use the using declaration?

0 Answers  


What issue do auto_ptr objects address?

2 Answers  


Categories