You are on page 1of 1

CS201 GDB Solution Session 2022

Student Name: Kamran Bhutto


Student ID: BC210000000

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 .

You might also like