IBM interview question

Asked to write a code to reverse a string without using loops ,pointers