0

What is meant by dynamic memory allocation?

when encountered heaps, they said that they are stored into dynamic memory allocation, what does that mean?

29th Jul 2018, 3:46 PM
Sankalp Arora
Sankalp Arora - avatar
1 Antwort
0
Dynamic memory allocation refers to manual memory allocation via 'malloc', 'realloc', 'calloc', 'free' functions (and 'new', 'delete' operators in C++).This allows you to obtain more memory when required and release it when not necessary.
29th Jul 2018, 8:45 PM
Steppenwolf
Steppenwolf - avatar