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. Human beings can directly read them by using some text editor like notepad.

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. They are faster than text files as there is no data conversion to take place in binary files.





Spread the love
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
Spread the love