#include <stdio.h>
#include <ctype.h>

int found_next_word(void);

int main(void) {
    int word_count = 0;
   printf( \"Enter a message:\\n\");

    while (found_next_word() == 1)
         ++word_count;
    printf( “ Number of words = %d\\n\", word_count);
    return 0;
}  /* end of main */

int found_next_word(void)
{
  int c;
  while ( isspace( c = getchar() ) )
 ;     /* skip white space */
    if( c != EOF )  {   /* found a word */
  while ( ( c =getchar() ) != EOF && !isspace(c) );
        /* skip all except EOF and white space */
 return 1;
   }
  return 0;
}

단어의 개수를 세는 프로그램이라는데...

이거 단어를 4개 입력하면 3이라고 안나오고 4라고 나오는 이유가 뭐야? isspace를 사용했으니
공백이 3개 생기는거 아닌가?

return 1 은 뭘 의미하는거야??