How detect malloc failure?

Viewed 69829

What is the portable way to check whether malloc failed to allocate non-zero memory block?

5 Answers
Related