What is malloc and free in C?

Dynamic memory allocation This helps us avoid running into insufficient memory and makes us use the memory space efficiently. In the C programming language, two of the functions used to allocate and deallocate the memory during run-time are malloc() and free() , respectively.

Sizin İçin Seçtik  What are types of dynamic memory allocation?

Leave a Reply

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

What is malloc and free in C?

Dynamic memory allocation This helps us avoid running into insufficient memory and makes us use the memory space efficiently. In the C programming language, two of the functions used to allocate and deallocate the memory during run-time are malloc() and free() , respectively.

Sizin İçin Seçtik  What is dynamic memory example?

Leave a Reply

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