fork(1) download
  1. f(n){for(n&&f(n-1);~n;putchar(n--?42:10));}
  2.  
  3. int main(void) {
  4. f(3);
  5. f(5);
  6. return 0;
  7. }
  8.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
*
**
***

*
**
***
****
*****