FILES In C Programming
Scanf and printf functions are used to read and write the data through terminals.
This is fine as long as the data is small.
When data is large, it is time consuming to handle the data through terminals.
The entire data is lost when the program i
...See more
s terminated or the computer is turned off.
It is necessary to maintain the data in a manner that could be retrieved or used whenever needed.
A file is an external collection of related data treated as a unit.
The primary purpose of a file is to keep record of data.
Record is a group of related fields. Field is a group of characters they convey meaning.
Files are stored in auxiliary or secondary storage devices. The two common forms of secondary storage are disk (hard disk, CD and DVD) and tape.
Views: 2439
Added: 4 years ago
Answer the Question