What is static and dynamic memory allocation in C?

When the allocation of memory performs at the compile time, then it is known as static memory. When the memory allocation is done at the execution or run time, then it is called dynamic memory allocation.

Sizin İçin Seçtik  What is malloc and free in C?

Leave a Reply

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