Print the string in the reverse order
#include <string.h> #include <stdio.h> void pr_reverse(char *s); int main(void) { pr_reverse("I like C"); return 0; } void pr_reverse(char *s) { register int i; for(i = strlen(s) - 1; i >= 0; i--) putchar( s [ i ] ); }