Wednesday, September 15, 2010

when do we use dynamic memory allocation?


when do we use dynamic memory allocation?

Sounds resembling a homework assignment. Why don't you look it up in your textbook?
when one does not know how much memory desires to be allocated beforehand



e.g if you are taking a variable length input

No comments:

Post a Comment