File handling refers to the method of storing data in the C program in the form of an output or input that might have been generated while running a C program in a data file, i.e., a binary file or a text file for future analysis and reference in that very program. File handling in C enables us to create, update, read, and delete the files stored on the local file system through our C program.