Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (21 sloc) 0.301 kb
#include<stdio.h>
void red()
{
printf("Hi");
}
void green()
{
printf("Bye");
}
int main()
{
fork();
int color=fork();
if(color==0)
fork();
red();
if(color==0)
fork();
green();
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.