English, asked by sachinsaji5321, 1 year ago

70. Which functions allow us to access a file in a non-sequential or random mode ?
(A) read() and readline()
(B) write() and writelines()
(C) Seck() and tell()
(D) write() and read()

Answers

Answered by nidaeamann
4

Answer:

option D

Write() and Read()

Explanation:

Write() and read () allows us to do changes in non sequential and random file.

it allows us to write any thing form any where form the file

it also allows us to read anything from anywhere form the file

it does not work in a sequential way. means you can get information easily with out checking all the entries.

it does not start looking form the start till to the end like we have in sequential access fill.

it has its own advantages and disadvantages.

Answered by smartbrainz
0

Write () and read () allow us to access a file in a non-sequential or random mode.

Option (D)

EXPLANATION:

  • Write () and Read () allows us to do changes in non sequential and random file. It allows us to write anything from anywhere from the file.
  • It also allows us to read anything from anywhere from the file. It does not work on a sequential way which means that we can get information easily without checking all the other entries.
  • One of the most important advantages of it is it does not starts to look information from start to the end and that's why saves lot of time. It has its advantages and disadvantages too.

To know more

Write a ‘C’ program in which a scanf() function can read a complete paragraph of text

https://brainly.in/question/4678726

Explain the function used to read and write binary

https://brainly.in/question/10382491

Similar questions