Capgemini Engineering interview question

program for reversing a string .DS,OOPS,DBMS,OS,networking and Projects.