Friday, December 29, 2023

compuer c,program ,7,0,07,mca

Memory Allocation- 





Whenever a new node is created, memory is allocated by the system. This memory is taken from list of those memory locations which are free i.e. not allocated. This list is called AVAIL List. Similarly, whenever a node is deleted, the deleted space becomes reusable and is added to the list of unused space i.e. to AVAIL List. This unused space can be used in future for memory allocation. Memory allocation is of two types- 1. Static Memory AllocationStatic Memory AllocationStatic Memory AllocationStatic Memory Allocation Static Memory Allocation Static Memory



 AllocationStatic Memory AllocationStatic Memory AllocationStatic Memory AllocationStatic Memory Allocation Static Memory AllocationStatic Memory AllocationStatic Memory AllocationStatic Memory AllocationStatic Memory Allocation Static Memory AllocationStatic Memory Allocation 2. Dynamic Memory Allocation Dynamic Memory AllocationDynamic Memory AllocationDynamic Memory Allocation Dynamic Memory AllocationDynamic Memory AllocationDynamic Memory AllocationDynamic Memory AllocationDynamic Memory Allocation Dynamic Memory AllocationDynamic Memory AllocationDynamic Memory AllocationDynamic Memory AllocationDynamic Memory Allocation Dynamic Memory AllocationDynamic Memory AllocationDynamic Memory AllocationDynamic Memory Allocation

1. Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation: Static Memory Allocation: Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory Allocation: Static Memory Allocation:Static Memory Allocation:Static Memory Allocation:Static Memory

 Allocation:Static Memory Allocation: Static Memory Allocation:Static Memory Allocation: When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is

 allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation tim

e, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated

 during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during


 compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time,




 it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is



 allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory When memory is allocated during compilation time, it called ‘Static Memory Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or




 decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. 




                                                                        This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after Allocation’. This memory is fixed and cannot be increased or decreased after allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is




 allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted. allocation. If more memory is allocated than requirement, then wasted.