Write C Program for Operating system Page Replacement Algorithm Optimal
Theory
In Optimal pages are replaced in the memory based optimally.
Program
Input
Page Replacement Algorithm - OPTIMAL
Enter length of the reference string: 12
Enter the reference string:1 2 3 4 1 2 5 1 2 3 4 5
Enter Number of frames:3