In industry, most of the programs
are written to store the information is taken from the program. One such way is
to store the fetched information in a file. File is created for permanent storage of data.
C have a lot of functions that helps to perform basic file operations. Here is that table of functions.
![]() |
| this table is taken from www.studytonight.com |
For opening file or creating a file we can use fopen() function. For closing file we can use fclose() function. In this function, we need a pointer to run this function.



No comments:
Post a Comment