fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <unistd.h>
  4. int main()
  5. {
  6. int p = fork();
  7.  
  8. printf("Hi");
  9.  
  10. p = fork();
  11. printf("Yolo");
  12. p = fork();
  13. printf("Nice");
  14.  
  15. }
  16.  
Success #stdin #stdout 0s 584KB
stdin
Standard input is empty
stdout
HiYoloNice