Which header files are used for dynamic memory allocation functions?

Malloc, calloc, realloc and free functions are for dynamic memory allocation, which are stored in heap section. And in stdlib. h header file.

Sizin İçin Seçtik  What are the different types of memory allocation in C?

Leave a Reply

Your email address will not be published. Required fields are marked *