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