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