Reverse a string in c++ [duplicate] up vote-3 down vote favorite This question already has an answer here: How do you reverse a string in place in C or C++ ...
stackoverflow.com