Can we use this pointer in a class specific, operator-overloading function for new operator?



Can we use this pointer in a class specific, operator-overloading function for new operator?..

Answer / Asad Hussain

No, the 'new' operator cannot be overloaded with a class-specific pointer. The 'new' operator is a built-in operator and its behavior cannot be modified using class methods or operator overloading.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How can I learn dev c++ programming?

1 Answers  


write a C++ programming using for loop: * * * * * * * * * *

4 Answers   TCS,


Why do we use templates?

1 Answers  


How to avoid a class from instantiation?

8 Answers   Symphony,


Show the declaration for a static member variable.

1 Answers  


Can we make copy constructor private in c++?

1 Answers  


Write a C++ Program to check whether a number is prime number or not?

1 Answers   IBS,


Where must the declaration of a friend function appear?

1 Answers  


Difference between a homogeneous and a heterogeneous container

1 Answers  


Why use of template is better than a base class?

1 Answers  


Can member data be public?

1 Answers  


What is ios flag in c++?

1 Answers  


Categories