e-con Systems interview question

Q:Write a program to reverse a string using recursive function