What are the popular tools used to detect memory leaks in
c++
Answers were Sorted based on User's Feedback
Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.
What is abstraction in c++ with example?
Define a constructor - what it is and how it might be called (2 methods)?
How do you clear a set in c++?
Write any small program that will compile in "C" but not in "C++"?
How we can differentiate between a pre and post increment operators during overloading?
What is lazy initialization in c++?
What is the keyword auto for?
Why c++ is so important?
What is optimization in c++? when using volatile.optimization is not possible..what does this mean?
What is the use of endl in c++?
what is COPY CONSTRUCTOR and what is it used for?