#include <stdio.h> void f(int n) {char c; if(n<=1) {c=getchar(); printf("\n\0"); putchar(c); } else {c=getchar(); f(n-1); putchar(c); } } int main(void) {int n=5;f(n);}