Least Recently Used (LRU) page algorithm in c
Exploring MRU Page Replacement Algorithm in C TheLazyBusyCoder's Blog Welcome to my coding adventures! In this post, we'll explore a C program. Least Recently Used page algo in C Watch this video for explanation #include<stdio.h> #include<stdbool.h> bool find(int frame[] , int framesize , int cur) { int i; for(i = 0; i = 0; j--) { if(cur == arr[j]) break; } if(j
Comments
Post a Comment