I need to write a function that will count words in a string. For the purpose of this assignment, a \"word\" is defined to be a sequence of non-null, non-whitespace characte
this is a simpler function to calculate the number of words
int counter_words(char* a){` // go through chars in a // if ' ' new word int words=1; int i; for(i=0;i
return words;}