fork download
  1. #include<stdio.h>
  2. int a=0;
  3. void func(){
  4. a++;
  5. }
  6. int main(int b)
  7. {
  8. b=5;
  9. int i;
  10. for(i=0;i<b;i++){
  11. func();
  12. }
  13. printf("%d\n",a);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 544KB
stdin
Standard input is empty
stdout
5