#include<stdio.h>
#include<string>
char *charcter(char *s,char *bash)
{
int i,j;
for ( i = 0,j=strlen(s)-1; i < strlen(s)&&j>0;i++,j--)
{
bash[i] = s[j];
}
bash[i] = '\0';
return bash;
}
int main()
{
char s[256] = "adwkreorkeroer";
char bash[256];
printf("%s",charcter(s,bash));
while (1);
return 0;
}