FILE MANAGEMENT IN C and explain types of Operation perform in file

FILE MANAGEMENT IN C and explain types of  Operation perform in file


What is FILE:


A file is a place on disk where the group of related data is stored .Like most other language, C supports  number of  functions that have the ability to perform basic file operations, which includes:

(i)    naming a file.

(ii)    Opening a file.

(iii)    Reading data from a file.

(iv)    Writing data to a file .

(v)    Closing a file.


There are two distinct way to perform file operation in C. The first one is known as low level I/O and uses UNIX system calls. The second method is referred to as the high level I/O operation and uses functions in C’s standard I/O library

Labels: