गिव एग्जांपल ऑफ डायनेमिक मेमोरी एलोकेशन
Answers
Answered by
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
Computer Science,
4 months ago
Hindi,
4 months ago
Social Sciences,
4 months ago
Math,
8 months ago
Physics,
11 months ago
Science,
11 months ago
Math,
11 months ago