Domanda di colloquio di L3Harris

Write a function to reverse a string in C++ without allocating extra memory