LTIMindtree Interview Question

Program to Reverse the string.