Intel Corporation Interview Question

How do you reverse a string in C++?"