Function to access file in non sequential and random mode
Answers
Answered by
0
The function that can best denote this condition is Write () and read () function.
The un-sequential and random mode of file works in a separate way from that of the sequential model.
In case of a sequential mode, one can read and write whatever or wherever anything is present.
However in case of an un-sequential mode, the random access starts to function.
Here you can start to read and write from wherever you want.
However in case of a sequential file, one can read them sequentially only.
Hence this is the limitation.
So sequential and non sequential and random modes are different from each other.
Similar questions