Tessolve interview question

C programming Reverse string, structure