#include<stdio.h> #include <stdlib.h> void func() { char ch = 0; scanf("%c", &ch); if (ch!='\n') { func(); } putchar(ch); } void main() { func(); system("pause"); }