This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (D) Depends on the Compiler What is the difference between calloc and malloc (A) calloc allocates memory in contiguous bytes, malloc does not ensure contiguous memory allocation (B) Memory allocated through calloc need not be freed explicitly, While memory allocated through malloc needs to be freed e x (C) calloc initialises the memory by setting all-bits-zero, malloc does not does any zero fill. (D) all of the above...
View Full Document
This note was uploaded on 06/27/2010 for the course MACS MCA taught by Professor Brs during the Spring '10 term at National Institute of Technology, Calicut.
- Spring '10