Can someone please help me with my program it says there is no problem with the build but when exe. it displays a bunch of backward 'k' instead of reversing the words entered.

Problem: Enter in a C-string and use function to display the word backward. (it might help with a pointer but im not sure how to go about it)