0

When do you use dynamic memory?

I just don't get why and when you need it.

30th Oct 2016, 9:27 PM
Iain Lynch
Iain Lynch - avatar
2 Answers
+ 1
One uses dynamic memory, if one does not know how much memory is required at runtime of the program. Typically this is due to user input (keyboard input on the machine, input via network or configuration files etc.)
30th Oct 2016, 11:06 PM
Stefan
Stefan - avatar
+ 1
using dynamic memory is tricky and challenging if you are new avoid using dynamic memory it can be hard to manage
31st Oct 2016, 5:25 PM
Muhammed Enis Mıhçıoğlu
Muhammed Enis Mıhçıoğlu - avatar