Write a program to implement FIFO page replacement algorithm using C++



Page Reference Stream Length: 20
Page Reference Stream:
7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1

Program Code (FIFO Page Replacement Algorithm):



Output :