This is not giving right output :(((
#include<iostream.h>
#include<conio.h>
using namespace std;
int main()
{
char c[80],d[80];
cout<<"Enter a string = ";
cin.get(c,80);
strcpy(c,d);
strrev(d);
cout<<"String = "<<c;
cout<<"Reverse word "<<d;
getch();
return 0;
}