What does a function declared like this mean? "char *removeDups(char str[])"

reference method 4 from the page

Refer to this for more information on return types.

char* fun_name(arg1, arg2, ..., argN) is a function that returns a pointer to a char. If you don’t wish to use it, you can use string instead.

1 Like