Illustrating Working of FIFO Page Replacement Algorithm in C++

#include
#include
using namespace std;
void main()
{
//Getting Framesize and Page count
int fs,n;
cout<<"\n Enter Framesize:"; cin>>fs;
cout<<"\n Enter No of pages:"; cin>>n;
int d=fs+2;
int cf[50][50];
int i,j,k,l,p,q,tc,z,w;
int temp[50];
//Getting pages
cout<<"\n Enter Pages"; for(i=0;i>cf[i][0];
}
//Initilizing all frames to -1
for(i=0;i

Leave a Reply

Your email address will not be published. Required fields are marked *