fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main () {
  4. for (int x = 0; x < 10; x++) {
  5. printf("%d\n", x);
  6. if (x % 2 == 0) {
  7. x++;
  8. continue;
  9. }
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
0
2
4
6
8