Kyndryl interview question

Write a C program to reverse a string