f(n){for(n&&f(n-1);~n;putchar(n--?42:10));} int main(void) { f(3); f(5); return 0;}
Standard input is empty
* ** *** * ** *** **** *****
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!