Computer Science, asked by sayalidoshi315, 18 days ago

What are the different modes in which file can be opened?​

Answers

Answered by aanjalikrialokraj
3

Answer:

fopen() - create a new file or open a existing file

fclose() - close a file

getc() - reads a character from a file

putc() - writes a character to a file

fscanf() - reads a set of data from a file

fprintf() - writes a set of data to a file

getw() - reads a integer from a file

putw() - writes a integer to a file

fseek() - set the position to desire point

ftell() - gives current position in the file

rewind() - set the position to the beginning point

Similar questions