This document contains a summary of a student's solution session for CS201. It discusses the advantages of dynamic memory allocation over static memory allocation for gaming development and large applications. Dynamic memory is more efficient because it only allocates variables when needed, allows changing the memory size, and enables reusing and freeing memory when not required. This provides benefits like allocating more memory when needed and releasing it when not.
This document contains a summary of a student's solution session for CS201. It discusses the advantages of dynamic memory allocation over static memory allocation for gaming development and large applications. Dynamic memory is more efficient because it only allocates variables when needed, allows changing the memory size, and enables reusing and freeing memory when not required. This provides benefits like allocating more memory when needed and releasing it when not.
This document contains a summary of a student's solution session for CS201. It discusses the advantages of dynamic memory allocation over static memory allocation for gaming development and large applications. Dynamic memory is more efficient because it only allocates variables when needed, allows changing the memory size, and enables reusing and freeing memory when not required. This provides benefits like allocating more memory when needed and releasing it when not.
According to given scenario in my opinion , dynamic memory is best on gaming development or on
large applications . Because in dynamic memory allocation variables get allocated only if your program unit gets active . In dynamic memory allocation when memory is allocated the memory size can be changed and it more efficient . The best feature is dynamic memory allocation is memory re usability and emory can be freed when not required as compare to static memory allocation there is no re usability . In dynamic memory the user can allocate more memory when required and also the user can release the memory when the user needs it .