fork(1) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main() {
  5. int i ;
  6. for (i = 0; i <= 6; i++)
  7. {
  8. printf("the i value is: %d\n", i);
  9. }
  10.  
  11. //getchar();
  12.  
  13. return (0);
  14. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
the i value is: 0
the i value is: 1
the i value is: 2
the i value is: 3
the i value is: 4
the i value is: 5
the i value is: 6