#include #include #define BUFFER_LEN 248 int len; unsigned int length_one = 1; int main(void) { char index[BUFFER_LEN]; while(strcmp(fgets(index, BUFFER_LEN, stdin), "quit\n") != 1) { length(index); printf("You are in the loop\n"); printf("The length of the input is: %d", len); }; return 0; } int length(x) { int *point; *point = length_one; return len = strlen(x+point); }