Resets the error and end-of-file indicators for a file (so that ferror and feof will not return a nonzero value). Format #include <stdio.h> void clearerr (FILE *file_ptr);
1 – Argument
file_ptr A file pointer.