Similar discussion thread: http://www.techtud.com/doubt/what-easiest-way-solve-1-tn-tn4-t3n4
@gateaspirant, Expect it very soon.
Below is the great example on fork(). I hope you have gone through it:
bit explanation will be helpful.
From which test the questions do belong ?
@antonio, Can you please help me solving this ?
@jay_krishna, @digvijay, Please have a look.