fork download
  1. /* main program illustrating the UNIX fork() system call.
  2. Compile using cc -o main main.c
  3. */
  4. #include <stdio.h>
  5. main() {
  6. int fork(), childpid, value;
  7.  
  8. fork();
  9. printf("A\n");
  10. // fork();
  11. }
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
A