View Code of Problem 52

#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.


Back to problem 52