

McqMate
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 |
View all MCQs in
CPP ProgrammingNo comments yet