Reverse a C string using bitwise XOR operator.