What is dynamic memory allocation in C with example?

The Dynamic memory allocation enables the C programmers to allocate memory at runtime . The different functions that we used to allocate memory dynamically at run time are − malloc () − allocates a block of memory in bytes at runtime. calloc () − allocating continuous blocks of memory at run time.

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

Leave a Reply

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