fork(1) download
  1. #include <stdio.h>
  2.  
  3. void pa(int a,int i);
  4.  
  5.  
  6. int main(void) {
  7. pa(6,0);
  8. return 0;
  9. }
  10.  
  11.  
  12. void pa(int a,int i){
  13.  
  14.  
  15. if(i==a){
  16. return;}
  17.  
  18.  
  19.  
  20. printf("*");
  21.  
  22. pa(4,(i+1));
  23.  
  24.  
  25.  
  26. }
Success #stdin #stdout 0s 4516KB
stdin
Standard input is empty
stdout
****