fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5.  
  6. int i = 0;
  7. for(i;i<2;i++){
  8. static int j = 0;
  9. printf("%i\n",j);
  10. j++;
  11. }
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
0
1