What are the popular tools used to detect memory leaks in
c++
Answers were Sorted based on User's Feedback
Distinguish between new and malloc and delete and free().
Explain pass by value and pass by reference.
Which one is a preferred language C or C++? Why?
What is an inclusion guard?
What is the difference between global variables and static varables?
What is the identity function in c++? How is it useful?
What is size of empty class object
What relational operators if statements in c++?
Can we inherit constructor in c++?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is null c++?
Which sort does c++ use?