A random-access file is a file in which the user or programmer can read and write data to the file at any location (hence the name random) simultaneously. A random-access file behaves like a large array of bytes. To navigate through the file, there is a file pointer which can be moved to the desired […]