Thundersoft interview question

programme to reverse string using pointer