Is palindrome? can someone please tell me what i am doing wrong

Sarthak, it is mentioned in the question that
Take as input N, a number. but you are taking char , change that …