Tech Mahindra Interview Question

Write a recursive program to reverse a string .