//字符反转输出
void practice_6(){
char str[] = "this is mother fuck trap music";
int length = (int)strlen(str);
char *head = str;
char *tail = str + length -1;
while (head < tail) {
char a = *head;
*head++ = *tail;
*tail-- = a;
}
printf("%s",str);
}