Select the right statement with reference to malloc() and calloc().
(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
I have been asked this question during an interview.
My question comes from General Utilities topic in chapter C Library of C