Wipro interview question

to write a palindrome program and to write a program with pointers