char *gets(char *str)

I'm reading the definition of gets and I'm confused what does the "char *" before gets mean I know (char *str) means a character pointer I think.
please help
thanks
The bit before the function name defines what it will return. So gets() is a function that takes a char *, and returns a char *.
thanks doh
Topic archived. No new replies allowed.