# include & ltstring.h & gt
作廢沖銷(字符)
{
char t;
靜態int I = 0;
t = *(s+strlen(s)-I-1);
*(s+strlen(s)-I-1)= *(s+I);
*(s+I)= t;
i++;
if(strlen(s)/2 = = I);
否則反轉;
}
void main()
char s[100];
CIN & gt;& gts;
反轉;
cout & lt& lts & lt& ltendl