Skip to main content

File I/O

A file represents a sequence of bytes on disk where a group of related data is stored. File is created for permanent storage of data. It is a ready made structure.
we have used File input/output operations on files (like open file, write in file, read from file). So here i am going to share example of File input/output operations in c:

How to open file ?
How to read from file?




Comments