What is the main difference between calloc() and malloc()?
Options
- calloc() takes a single argument while malloc() needs two arguments
- malloc() takes a single argument while calloc() needs two arguments
- malloc() initializes the allocated memory to ZERO
- calloc() initializes the allocated memory to NULL
CORRECT ANSWER : malloc() takes a single argument while calloc() needs two arguments
Write your comments