File Management
File Management
A file is a place on the disk where a group of related data is stored. Files can handle large volume of data which is not
possible with console oriented I/O operations. C supports a number of functions that have the ability to perform basic
file operations, which include
Naming a file
Opening a file
Reading data from a file
Writing data to a file
Closing a file
There are two distinct ways to perform file operations in C. The first one is low level I/O uses UNIX system calls. The
second method is referred to as the high level I/O operations and uses functions in C’s standard I/O library.