Cognizant interview question

Introduce yourselves. write a code reverse a string