Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

What is a dynamic memory allocation? How does it help in building complex programs?

What is a dynamic memory allocation? How does it help in building complex programs?

Answers


mbugua
Dynamic memory allocation helps during variable declaration where one declares a variable once but can access it anywhere in your program code. The variable can be changed to any value regardless of the data type. The memory size is increased or decreased accordingly as you assign new values to a memory location.
Snjane answered the question on April 13, 2018 at 09:25

Answer Attachments

Exams With Marking Schemes

Related Questions