Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions