Question d’entretien chez Tech Mahindra

How to reverse a string in c?