fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int i;
  6.  
  7. for (i = 0; i < 3; i++) {
  8. printf("i = %d\n", i);
  9. }
  10. puts("ループ抜けた");
  11. printf("i = %d\n", i);
  12.  
  13. return (0);
  14. }
  15.  
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
i = 0
i = 1
i = 2
ループ抜けた
i = 3