#include<iostream.h>
#include<stdio.h>
void reverse_string(char *string)
{
if(*string != '\0')
{
reverse_string(string+1);
}
cout<<(*(string-1));
}
int main()
{
char *s = "hello word!";
reverse_string(s);
cout<<endl;
return 0;
}