0 votes 0 votes what is output? Operating System operating-system fork-system-call general-topic-doubt + – arun_singh asked Aug 4, 2018 • retagged Mar 9, 2019 by Abdul Wazeed arun_singh 621 views answer comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments Soumya29 commented Aug 4, 2018 reply Follow Share @Shaik sir, last print statement will give an error in the child process too. Scope of variable "d" is within $if$ block only but that print statement is outside that block. 0 votes 0 votes arun_singh commented Aug 4, 2018 reply Follow Share Got it. 0 votes 0 votes Shaik Masthan commented Aug 4, 2018 reply Follow Share @Soumya29, yes mam, you are right. 0 votes 0 votes Please log in or register to add a comment.