File handling is the process of creating, adding, managing, and modifying records in a form of a file called a data file. In general, data files have. DAT extension.
File Handling is the storing of data in a file using a program. In the C programming language, the programs store results and other data of the program to a file using file handling in C. Also, we can extract/fetch data from a file to work with it in the program.