Created
March 17, 2010 16:22
-
-
Save KristianLyng/335411 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int rs(char *s) | |
{ | |
return (*s ? rs(s+1) : 0) ? putchar (*s) : 1; | |
} | |
int main() | |
{ | |
rs("reverse my string!"); | |
return putchar('\n') != '\n'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment