Computer Science, asked by Vrusha22251, 11 months ago

How we create an array using dynamic memory allocation with example and benefits?

Answers

Answered by Anonymous
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 N3KKI
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