Philips interview question

write a program to reverse a character array without using another array.