Computer Science, asked by upadhyayprincebby, 8 months ago

गिव एग्जांपल ऑफ डायनेमिक मेमोरी एलोकेशन​

Answers

Answered by educatorvs
1

Programmers can dynamically allocate storage space while the program is running, but programmers cannot create new variable names "on the fly", and for this reason, dynamic allocation requires two criteria:

Creating the dynamic space in memory

Storing its address in a pointer (so that space can be accessed)

Memory de-allocation is also a part of this concept where the "clean-up" of space is done for variables or other data storage. It is the job of the programmer to de-allocate dynamically created space. For de-allocating dynamic memory, we use the delete operator. In other words, dynamic memory Allocation refers to performing memory management for dynamic memory allocation manually.

Mark as brainliest plz

Similar questions