Cambridge Consultants interview question

Reverse A string in C