Hello everyone
I do not understand what is dynamic memory allocation in programming. I have read many tutorials and have read the topics given in the books but I am not able to understand clearly.
I know dynamic memory allocation at runtime. It is said that when we do not know how much memory will be required, then we should use dynamic memory. But this is not understandable to me because to store any record we should know about its size.
Can anyone clarify why it say when we don't know how much memory we need then we should use dynamic memory