In your function definition you have char sortWords(...) that char means a single character. You do know that when you pass an array into a function in the parameters it will change the variable in...
Type: Posts; User: jimblumberg
In your function definition you have char sortWords(...) that char means a single character. You do know that when you pass an array into a function in the parameters it will change the variable in...
One problem I see in your sortWords function is you have told the compiler you are going to return a single character but when you return you try to return your char array.
Jim