#include #include int main() { /*getline variables*/ char * line = NULL; int LineLength; size_t len = 0; char ParseString[90]; /*strtok variables*/ char StringParse[80]; char *Words; printf("Please enter a few words:"); /*Stores input as line**/ LineLength = getline(&line, &len, stdin); /*splitting string using a space as a divider*/ strcpy(StringParse, line); Words = strtok(StringParse, " "); /*parsing out each word*/ while (Words != NULL) { printf("%s\n", Words); Words = strtok(NULL, " "); } }