Sometimes we require persistent data in our program, in that situation file is very helpful. So you should have the basic knowledge of file handling in C. Basically, file represents a sequence of bytes which store in the disk permanently.
Read this post on aticleworld.com