Data File Handling in C


Data File Handling in C

Data File handling is the way to store data permanently on computer.

There are two ways of storing data in files:

1. Text Format

In this case data is stored in form of ASCII characters. Data is stored in files with every line ended  by new line character. They can be read by human beings.

2. Binary Format

In this case, data is stored in the binary form so these files are not readable. Data stored in such files can’t be interpreted by any text editor.

Binary files are faster than text files as there is no data conversion to take place in binary files.

Best Books of C

Lesson tags: Data File Handling in C, Types of File Handling, Ways of storing data in files in c, Why do we need file Handling
Back to: C Programming Language