scanf()

This is a file I/O function, also hardware dependent. It is not implemented in this 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()

fscanf()