Xpode.com        Click here to Print this article.

What do you mean by Static and Dynamic Storage Management

Static Memory Management:

When memory is allocated during compilation time, it is called ‘Static Memory Management’. This memory is fixed and cannot be increased or decreased after allocation. If more memory is allocated than requirement, then memory is wasted. If less memory is allocated than requirement, then program will not run successfully. So exact memory requirements must be known in advance.

Dynamic Memory Management:

When memory is allocated during run/execution time, it is called ‘Dynamic Memory Management’. This memory is not fixed and is allocated according to our requirements. Thus in it there is no wastage of memory. So there is no need to know exact memory requirements in advance.



http://
http://

Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=293

Click here to go on website