Memory Allocation on C related Questions and Answers


Question :   If the space in memory allocated by malloc is not sufficient, then an allocation fails and returns ___________
1. NULL pointer
2. Zero
3. Garbage value
4. The number of bytes available
Answer :   1 - NULL pointer  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter