Here is the solution


#1

int x=0;
int B=A;
while(A>0){
x=x*10+(A%10);
A=A/10;
}
if(x==B){
return 1;
}
else{
return 0;
}