+ 1
What is dynamic memory
i am taking c++ course and i couldnt understand dynamic memory concept
3 ответов
+ 4
Dynamic memory allocation in C/C++ refers to performing memory allocation manually by programmer. Dynamically allocated memory is allocated on Heap and non-static and local variables get memory allocated on Stack (Refer Memory Layout C Programs for details).
[geeksforgeeks]
+ 3
Dynamic memory is memory that is not automatically deleted. You must request it (e.g. new) and give it back (e.g. delete) manually.
The dynamic memory is also called heap.
+ 1
Hey bro. it is so ez question. U may ask this question to google.
:/