Question: C 3. (20 points) Write a function with the prototype: int wordCount (char sentence[I); that takes a string as its argument and returns the number
3. (20 points) Write a function with the prototype: int wordCount (char sentence[I); that takes a string as its argument and returns the number of words. For the sake of this function, you may assume that the words are separated by a single space. Make sure that you write a complete function definition along with parameters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
