Infosys Interview Question

I was asked to write palindrome algorithm. Asked to write in C language. Asked to write syntax for C language.