What’s the use of fopen(), fclose(), fprintf(), fscanf(), feof(), fseek(), rewind(), fread(), fwrite(), fgets(), fputs() ?

Here i use the single program to explain almost all file I/O operations simply.

 

 

Output

FILE OPERATION