Pregunta de entrevista de Infosys

Write palindrome program in c as well as java.