What is A Random File

What is A Random File

A random file is one in which records or data is accessed randomly.

It is useful when there are large number of records in a file and only few records have to be updated in a random other; this saves lot of access time of a record.

To access random file the following functions are used;

  • Seekp()or seekg()

  • fellg()or fellp()