main() 会文字符问题!!!!!!!!
{
char t[50];
int n,a,b,m,p;
printf ("enter a word\n");
scanf ("%s" ,t);
printf ("%d\n",n=strlen(t));
if (n%2!=1)
{b=n/2;
for (a=n/2-1;a>=0;a--,b++)
{if (t[a]!=t[b]) break;
if (a==-1)
printf ("yes\n");
}
printf ("no\n");
}
if (n%2==0)
{p=n/2+1;
for (m=n/2-1;m>=-1;m--,p++)
{if (t[m]!=t[p]) break;
if (m==-1)
printf ("yes\n");
}
printf ("no\n");
}
}