reset the reading position to beginning in c code example
Example 1: reset the reading position to beginning in c
fseek(fptr, 0, SEEK_SET);
Example 2: reset the reading position to beginning in c
rewind(fptr);
fseek(fptr, 0, SEEK_SET);
rewind(fptr);