Memory Allocation on C related Questions and Answers


Question :   In the function realloc(), if the new size of the memory block is larger than the old size, then the added memory ___________
1. is initialized to junk values
2. is initialized to zero
3. results in an error
4. is not initialized
Answer :   4 - is not initialized  

* 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