Q. |
How can we restrict dynamic allocation of objects of a class using new? |
A. | By overloading new operator |
B. | By making an empty private new operator. |
C. | By making an empty private new and new[] operators |
D. | By overloading new operator and new[] operators |
Answer» C. By making an empty private new and new[] operators |
Login to Continue
It will take less than 2 minutes