V

Vinay • 28.75K Points
Instructor II

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
  • Correct Answer - Option(C)
  • Views: 45
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics