Pergunta de entrevista da empresa TestingXperts

Write a code to reverse a string without using in-built functions and explain its methodology.