Get premium membership and access questions with answers, video lessons as well as revision papers.

What are the ways that a class might indicate an allocation failure in a computer program?

      

What are the ways that a class might indicate an allocation failure in a computer program?

  

Answers


Davis
On failure, a class will either return a null pointer or generate an exception. You must check your compiler documentation to determine which approach is used.In standard C++ a class generates an exception by default.
Githiari answered the question on November 17, 2017 at 05:38


Next: Give two possible restrictions to an inline functions
Previous: Give two advantages of reference pattern in a computer program

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions