Data File Handling in C

Preview



Data File Handling in C

Data File handling is the way to store data permanently on some storage device.

There are two ways of storing data in files:

1. Text – Format

In text format, data is stored directly in form of ASCII characters. Every line is terminated  by a new line character. They can be easily read by us.

2. Binary – Format

In binary format, data is stored in the binary form so we can’t read contents of these files . 

They are faster than text files because there is no data conversion in binary files.



Best Sellers





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