How to detect memory leaks in c++



How to detect memory leaks in c++..

Answer / freaxer

override new and delete, add memory tracker

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More C++ General Interview Questions

What is the need of a destructor?

1 Answers  


Differentiate between C and C++.

1 Answers   Wipro,


What is unary operator? List out the different operators involved in the unary operator.

1 Answers  


Explain the isa and hasa class relationships.

1 Answers  


What is a c++ class?

1 Answers  


What are the main features of c++?

1 Answers  


Describe exception handling concept with an example?

1 Answers  


We use library functions in the program, in what form they are provided to the program?

1 Answers  


what are prototypes

4 Answers   Infosys, TCS,


Which sort does c++ use?

1 Answers  


You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.

4 Answers  


If a function doesn’t return a value, how do you declare the function?

1 Answers  


Categories