protótipo do scanf em c
int scanf(const char *format, ...)
/*
It returns the number of items of the argument list successfully read.
If a reading error happens or the end-of-file is reached while reading,
the proper indicator is set (feof or ferror) and, if either happens before any
data could be successfully read, EOF is returned.
*/
Mahmoud Karam