The code you guys entered is not correct,,, cause you have to reverse it along with its place,,,
here this may be helpful

#include<iostream.h>
#include<conio.h>
using namespace std;
main()
{
cout<<"Enter The Number Alphabets your Word has \t";
int x;
cin>>x;
cout<<"Enter Your Word:";
char a[x];
cin>>a;


char temp;

for (int i=x; i>=0;i--)
{
temp=a[i];
a[i]=temp;
cout<<a[i];
}
cout<<endl;
getch();
}