C program to split string by space into words
In this C program, we are going to learn how to split a given string by spaces and storing the substring in an array of strings.
Example:
Input string: "Hello how are you?"
Output:
"Hello"
"how"
"are"
"you?"
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer