How we create an array using dynamic memory allocation with example and benefits?
Answers
Answered by
2
Answer:
Dynamic memory allocation means to allocate the memory at run time. Dynamic memory allocation is possible by 4 functions of stdlib.h header file. Allocates single block of requested memory. Allocates multiple block of requested memory.
Answered by
0
Dynamic memory allocation is when an executing program requests that the operating system give it a block of main memory. The program then uses this memory for some purpose. Usually the purpose is to add a node to a data structure.
Similar questions