Home🏠
Blog📝
Reports📚
Scratch Pad📓
Utilities🧰
Publications📃
Contact📞
Light
Dark
Automatic
C
C
malloc vs calloc Both allocates a block of memory, where the primary difference is if block needs to be initialized and if multiple blocks need to be allocated. If initialization isn’t important, use malloc
Last updated on Apr 18, 2023
Cite
×