Skip to content

Glossary: C Basics

calloc

Like malloc, but it sets the memory to zero. `calloc(n, sizeof *qty)` reserves room for n elements, all zero.

Where the book teaches it

Related terms

mallocHeap