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