#include<stdio.h> int main() { fork(); printf("Hello World \n PID = %d\n", getpid()); return 0;}
Standard input is empty
Hello World PID = 29170 Hello World PID = 29200
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!