Returns a nonzero integer if an error occurred while reading or writing a file. Format #include <stdio.h> int ferror (FILE *file_ptr);