Reverse a c string.