Multi-Word Strings

Input a multi-word string using scanf()

If a multi-word string is supplied to scanf(), only the first word gets stored in the array, str3.

Get hands-on with 1400+ tech skills courses.