Hello;
I am new to C and am having difficulty with arrays and strings.
I have an assignment where I have to sort through the words in a sentence and determine if it contains a specific word. Honestly I don't know where to start other than with a for loop.

Code:
for (i = 0; i < sizeof; i++)
{
     
}
I do not know how to go about sorting the string to find individual words.

   if(array[i] == ' '; //is this correct