Infosys Interview Question

C code to reverse a string . OOPS conceptual questions.