Anonymous Interview Question

Reverse a string in cpp