void Qstring(char*str){
if(NULL==str){
return 0;
}
int n=strIen(str);
int s=0;int e=n-1;
while(s<e){
chat tp=str[s];str[s]=str[e];stre[e]=tp;
s++;e--;
}
}
int main(){
char buf[]=“abcdefghi”;
Qstring(buf);
printf(“d%\n”,buf);
return 0;
}