Cognizant interview question

Write program for reverse of string?

Cognizant Interview Question: Write program for reverse of string? | Glassdoor