πŸ“Š C++
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) By making an empty private new and new[] operators

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
208
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
93%
Success Rate