Pergunta de entrevista da empresa iEnergizer

Wap to reverse a string without using predefinwd function.