C++ | Operator Overloading | Question 10

Last Updated :
Discuss
Comments
How can we restrict dynamic allocation of objects of a class using new?
By overloading new operator
By making an empty private new operator.
By making an empty private new and new[] operators
By overloading new operator and new[] operators
Share your thoughts in the comments