#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main() {
char str[] = "hello bit";
int size = strlen(str);
char* p = str;
int a = size / 2;
int b = 0;
int i = 0;
for (i; i < a; i++) {
int tmp;
tmp = *(p + i);
*(p + i) = *(p + size - 1 - i);
*(p + size - 1 - i) = tmp;
}
puts(str);
system("pause");
return 0;
}