Pergunta de entrevista da empresa Infosys

Write palindrome program in c as well as java.