What's dynamic memory? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What's dynamic memory?

plz help me

23rd Apr 2017, 3:53 AM
حياتنا اكشن 7ayatna action
حياتنا اكشن 7ayatna action - avatar
3 Answers
+ 3
The process of allocating memory at runtime is known as dynamic memory allocation. Library routines known as "memory management functions" are used for allocating and freeing memory during execution of a program. 
23rd Apr 2017, 5:10 AM
Saikat Mukherjee
Saikat Mukherjee - avatar
+ 1
memory allocated during runtime
23rd Apr 2017, 4:00 AM
cser
cser - avatar
+ 1
the memory space allocated at runtime int a[10]; //this is static allocation(static memory) if all the 10 are not used then the remaining memory is wasted so for save memory space dynamic allocation is used. dynamic allocation is done at runtime and as per requirements.. malloc,calloc, are used for dynamic memory allocation.
23rd Apr 2017, 4:19 AM
Mayur Chaudhari
Mayur Chaudhari - avatar