this is a c programming code, just trying to do something with character strings.
this code is supposed to accept a string, then show the string one word per line, but there is a bug that i cant figure out.
please help, and explain what went wrong. thanks a lot :)