Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 2
What is the main difference between malloc() and calloc() ?
1 ответ
+ 6
As I understand it, `calloc` zero-fills the memory block allocated, while `malloc` just make the allocation, you get a "cleaner" block with `calloc` I guess.