Error Correction Question

Correct following program.


The function putstrrev puts string s in the reverse order.
For example, putstrrev("Hello!") puts "!olleH".



void putstrrev(char *s)
{
                      
   if (*s == '\0') return;
   else {
      putchar(*s);
      putstrrev(s-1);
           
   }
                      
}

Result