Reset the File Position Indicator using rewind Function





This video tutorial made by the Learning Lad teaches how to reset the file position indicator in c using the rewind() function.

This Tutorial begins with the usage and working of rewind() function and then explains the syntax of rewind function which is
void  rewind(FILE *fp);
with its parameters and return values.
Then you will learn what happens when we read or write to a file, what is file position indicator, why it is used, what is the need to reset it, how to use the rewind function to reset the file position indicator in detail with an example.