I was trying to create `n`(say `n=3`) child processes from a single parent process but couldn't reach a solution. I have tried this code:

```
for(i=0; i<3; i++)
{
    fork();
}

```

But unfortunately it is creating 7 child processes.