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  How allocate memory dynamically in C++ explain with example?

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  BTC bam Coin kimin?

Leave a Reply

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