This comment has been removed for violating comment rule 3 Put thought into it . Memes and one line replies are strongly disfavored . Explain the reasoning behind what you ' re saying . If you have any questions or concerns , please feel free to message us . <| sep |> Wow what a real gentleman <| sep |> What happens if scanf is expecting to get a number and you give it cat ? You have to verify that input was successful . You should read up more on the function if you think scanf returns the number of format codes . <| sep |> Will try it , thanks ! <| sep |> I think its the Logicalincrements fans that are ruining this otherwise intellectually honest community , where knowledgable dont always have the will to get into exhausting arguments with loyalists and semiknowledgable .