Infosys interview question

C code to reverse a string . OOPS conceptual questions.