Q. How can we restrict dynamic allocation of objects of a class using new? (Solved)
1. By overloading new operator
2. By making an empty private new operator.
3. By making an empty private new and new[] operators
4. By overloading new operator and new[] operators
- c. By making an empty private new and new[] operators