TATA ELXSI Interview Question

write c code to find palidrome.