Help me in solving LPYAS156 problem

My issue

what is the error in this code identify and how to correct it

My code

#include <stdio.h>
#include<string.h>
int main()
{
     char a[50], b[50];
     printf("enter string\n");
     scanf("%d",a);
     strcpy (b,a);
     strrev(a);
     if(strcmp(a,b)==0)
     printf("Palindrome");
     else
     printf("Not Palindrome");
}
	




Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00A/problems/LPYAS156

what is the error in this code