Dynamic memory allocation?

May 28, 2016 at 8:57pm
Does it happen during compilation or during runtime?
May 28, 2016 at 9:02pm
Runtime.
May 28, 2016 at 9:03pm
closed account (E0p9LyTq)
Dynamic memory allocation?
Does it happen during compilation or during runtime?


Short answer: yes.

Somewhat longer answer: dynamic memory is only allocated during runtime. The actual location[s] allocated can change every time your program is run.
Topic archived. No new replies allowed.