#include <stdio.h> void reverse() { char c; if((c = getchar()) != '\n') reverse(); if(c != '\n') putchar(c); } void main() { reverse(); printf("\n"); }
Double click to view unformatted code.