C -- scanf == working method