Is it better to use malloc() or calloc()? Ans. Both the malloc() and the calloc() functions are used to allocate dynamic memory. Each operates slightly different from the other. malloc() takes a size and returns a pointer to a chunk of memory at least that big: void *malloc( si...
See more
Download the Study24x7 App, so you can connect and collaborate.