fscanf()

This is a File I/O function. It is not implemented in the Compiler.

Syntax
     #include <stdio.h>
      int fscanf(FILE *f, const char *format,...);
Description

fscanf() is the same as scanf() but the input comes from file f instead of a string.

Return

The number of data arguments read, if any input was converted. If not, it returns EOF.

See also

fgetc(),

fgets(), and

scanf()