Atos-Syntel Interview Question

Reverse the string without using in-built function