Dynamic memory allocation
Appearance
Dynamic memory allocation is the allocation of memory storage during the runtime of a program. The function malloc is used to dynamically allocate memory in C. The new operator is used to dynamically allocate memory in C++.