Microsoft Interview Question

reverse a character string in place.