Return Value On success, the function returns the number of items of the argument list successfully filled.
These arguments are expected to be pointers: to store the result of a scanf operation on a regular variable, its name should be preceded by the reference operator (&) (see example).