Question: In C Language YOUR TASK: Write a function called displayFirstWord that displays the first word from a sentence. For example, the following code should display
In C Language

YOUR TASK: Write a function called displayFirstWord that displays the first word from a sentence. For example, the following code should display "hello". Assume words are must always be separated by a single space character. void displayFirstWord (char str[]) //YOUR CODE BELOW. . . . void main () char s [64 strcpy (s, "hello how are you today"); displayFirstWord (s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
