Frage im Vorstellungsgespräch bei Microsoft

Write a function that reverses a string in-place using C++.