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