You are on page 1of 1

2. malloc(...

) allocates memory blocks and returns a void pointer to the allocated


space, or NULL if there is insufficient memory available. calloc(...) allocates an
array in memory with elements initialized to 0 and returns a pointer to the
allocated space. calloc(...) calls malloc(...)

You might also like