Question d’entretien chez HCL Technologies

Write a C program to reverse a string.