Intel Corporation interview question

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