/* * code.c * * TASK * Reverse a string by reversing pointers. Function should use return * type char* and use a char* parameter as input. */ #include &l
Type char* sPhrase[] is really incompatible with char *, [] has semantic of pointer, so you code much to char **. So function signature must be:
char* reverse(char* sPhrase)