a) malloc() does not set the memory to zero whereas calloc() sets allocated memory to zero
b) malloc() sets the memory to zero whereas calloc() does not set allocated memory to zero
c) malloc() sets the memory to zero whereas calloc() sets allocated memory to zero
d) malloc() does not set the memory to zero whereas calloc() does not set allocated memory to zero
Select the right statement with reference to malloc() and calloc().
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Select the right statement with reference to malloc() and calloc().
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!