0 votes 0 votes shefali1 asked Dec 21, 2017 shefali1 308 views answer comment Share Follow See 1 comment See all 1 1 comment reply Anu007 commented Dec 21, 2017 reply Follow Share 4 will be answer 0 votes 0 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes you can rewrite it and check its printing Hello "4" times int main() { if(fork()==0) { printf ("%s\n","hello"); } if(fork()==0) { printf ("%s\n","hello"); } } Akash Mittal answered Dec 21, 2017 selected Dec 21, 2017 by shefali1 Akash Mittal comment Share Follow See all 0 reply Please log in or register to add a comment.