So even though you copied this code, there is a glaring bug in this code that was not mentioned in the other thread so I will mention it here.
This
#define LEN 20
...
char word[LEN];...
Type: Posts; User: nonpuz
So even though you copied this code, there is a glaring bug in this code that was not mentioned in the other thread so I will mention it here.
This
#define LEN 20
...
char word[LEN];...