</>EmbeddedInterview

What is the difference between malloc() and calloc()?

MediumLinux System Programming

malloc allocates uninitialized storage; calloc allocates an array and initializes its bytes to zero.