#include<stdio.h> void reverse(char *s) { if( s[0] != '\0') reverse(&s[1]); putchar(s[0]); } int main() { char s[]="1234"; reverse(s); putchar('\n'); return 0; }