What are the different modes in which file can be opened?
Answers
Answered by
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
Science,
8 days ago
Math,
8 days ago
Accountancy,
8 days ago
Social Sciences,
18 days ago
Social Sciences,
18 days ago
Geography,
8 months ago
Social Sciences,
8 months ago