What is the difference between new operator and operator new?
The “new” operator allocates a new instance of an object from the heap, utilizing the most appropriate constructor for the arguments passed. Like many operators in C++, the “new” operator for a particular class can be overridden, although there is rarely a need to do so. “operator new” is the mechanism for overriding the default heap allocation logic. Ask your interviewer to provide you with a concrete example of when he or she has been required to do this.