The calloc function initializes the items to 0. The maximum amount of memory allocated at once is limited to 0xFFFFD000. See also malloc and realloc.