Automatic Memory Allocation
Given: a) List of available Memory Blocks in the following format Starting address Memory Block ID Size(words/Kbytes) b) List of Occupied Memory Blocks Starting address Block ID Size(words/Kbytes) Implement a program to allocate a memory to incoming block of data of the given size. After every block allocation update the contents of the available list and occupied list