0
How to reverse string?
2 Answers
+ 6
See code for in-place string reversal in C++.
https://code.sololearn.com/c0bMpfjg54I3/?ref=app
+ 3
See this tutorial, there's an example there showing how it is done, you may need to scroll the page down :)
http://www.geeksforgeeks.org/stdstring-class-in-c/