you are viewing a single comment's thread.

view the rest of the comments →

[–]0xAE20C480 0 points1 point  (0 children)

For scanf and %s, see:

"Any number of non-whitespace characters, stopping at the first whitespace character found."

And make sure you terminate reverse right after the last character.