Question: I WILL GIVE DISLIKES ! ! ! IF ANYTHING WRONG HAPPENS IN MY QUESTION, BETTER SKIP IT ! ! ! Finclude CV 0 1

I WILL GIVE DISLIKES !!! IF ANYTHING WRONG HAPPENS IN MY QUESTION, BETTER SKIP IT!!!" Finclude CV01 stdio. h\#include \#includeh > int main() i pid_t child; int status; >thild - fork (): switch (child)( case -1 : ("")(1)(2): : (waitpid(child, sstatus, WNOHANG)=0) printf (""sdin"", WEXITSTATus (status))1 o; int x=10,y80; yy+x; 90 pide c= fork () : if
(c
=0) i x+=y10+90=100(""sdid"", x,xy): f (NuLL) : \}0 ; t a)100109090 b)100101090 c)109010010 d)10010100903. PID 53720 PIDS53721,53722... Aincludecstdio.h> includecunistd, h> includessignal, h> void h(int s)1 printfi""[id]"", getpidil)+ void nain (1)(SIGKItL, h): pid t; cofork(1) if (C=0)4 sleep {1}: ald printfl""[sd]"", getpidus: ifle !- D)1(a, sIlikILL): (NuLL) r I""[of]"" getptdol: (i)[53720] b)[53721][53720] c)[53721][53721][53720] d)[53721][53721][53721][53720]4."CMPS405"\#includerations tincludesstrilib.h>\#irteludecunista.h> int maln ()\& if fork (1m)0}() if { exec1(""/Din/1s"",""1s"", NULL )==1)("" execl "")\{1\}: \}(""CMPS405/n"")(1)0 ; ] a)0 b)1 c)2 d)"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!