Science Teacher Question: Download Science Teacher PDF
Do you know some of the most used File Processing functions in C?
Answer:
Most used file processing functions in C are-
☛ fopen()-used to open a file and set the file pointer to the beginning or end of a File.
☛ fclose()-used to close an active File.
☛ getc()-used to read a character in a File.
☛ putc()-used to write a character to a File.
☛ putw()-used to write an integer data to a File.
☛ fscanf()-used to read data from a File.
☛ fprintf()-used to write data to a File.
☛ rewind()-used to move the file pointer to the beginning of a File.
☛ fopen()-used to open a file and set the file pointer to the beginning or end of a File.
☛ fclose()-used to close an active File.
☛ getc()-used to read a character in a File.
☛ putc()-used to write a character to a File.
☛ putw()-used to write an integer data to a File.
☛ fscanf()-used to read data from a File.
☛ fprintf()-used to write data to a File.
☛ rewind()-used to move the file pointer to the beginning of a File.
Previous Question | Next Question |
Tell me what do you mean by File Positioning? | Tell me what do you mean by a File? |