fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int i;
  6.  
  7. for (i = 0; i < 10; i++)
  8. {
  9. printf("%d\n", i);
  10.  
  11. if (i > 3)
  12. {
  13. break;
  14. printf("after break\n", i); // never gets printed
  15. }
  16. }
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
0
1
2
3
4