alexz
Full Member level 5
Can anybody please explain and give some examples of why would we use the Dynamic Memory Allocation ?
I know what malloc(), heapInit(), and mfree() functions do.
I know that "heap" is the region defined for these purposes and has number of pre-defined segments.
But where would I need to use it?
I know what malloc(), heapInit(), and mfree() functions do.
I know that "heap" is the region defined for these purposes and has number of pre-defined segments.
But where would I need to use it?