scanf()

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

Syntax
  #include <stdio.h>

  
  int scanf(const char *format,...);

  
Description

scanf() is the same as sscanf(), but the input comes from stdin 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

fscanf()