Question d’entretien chez Oracle

Write a program to reverse a char array without using string function and without using another char array