You are on page 1of 1

#include<stdio.h> #include<conio.h> void reverse(void) { int c ; if((c= getchar())!

='\n' ) reverse(); putchar(c) ; } void main() { clrscr(); printf("Enter Text") ; printf("\n"); reverse(); printf("\n"); getch();

You might also like