Question: Consider the following code fragment: printf (About to issue execl ); err = execl (./mycode, mycode, 1, 2, (char *) NULL); printf (execl was successful,
Consider the following code fragment: printf ("About to issue execl "); err = execl ("./mycode", "mycode", "1", "2", (char *) NULL); printf ("execl was successful, err = $d ", err); Assuming the execl works (no error encountered) what output will be produced by the code fragment? execl was successful, err = 0 About to issue execl none of these About to issue execl execl was successful, err mycode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
