VoltDB interview question

String reversal using pointers in C