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 1200+ tech skills courses.