OS 14 c
OS 14 c
return 0;
}
OUTPUT:
Enter number of files: 2
Enter starting block and length of file 1: 5 3
File allocated successfully!
Enter starting block and length of file 2: 10 2
File allocated successfully!
File Allocation Table (Linked):
Block 5 -> 0
Block 0 -> 1
Block 1 -> -1
Block 10 -> 2
Block 2 -> -1