fork download
  1. #include <stdio.h>
  2. int main ()
  3. {
  4. int a = 10; /* just a variable */
  5. int i; /* loop increment */
  6.  
  7. for (i = 1; i < 10; i = i + 2)
  8. {
  9. a += 5;
  10. break;
  11. a = a + 100; /* this statement never executed */
  12. }
  13. /* first executable statement after the loop */
  14. printf ("after the loop \n");
  15.  
  16. printf ("i = %i, a = %i\n", i, a);
  17.  
  18. return (0);
  19.  
  20. } /* end main */
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
after the loop 
i = 1, a = 15