Question PRG-C-0054
MediumWhat is the difference between malloc() and calloc() in C?
- A.
calloc() allocates on the stack
- B.
calloc() initialises the memory to zero and takes a count and size; malloc() leaves it uninitialised
- C.
Sign up free to see the answer and a step-by-step explanation.