Pergunta de entrevista da empresa Tata Consultancy Services

String reversal without using built in functions