Question d’entretien chez TestingXperts

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