Question: Consider the following code fragment: printf (About to issue execi ) err = execl(./mycode, mycode, 1, 2, (char*) NULL); printf (execl was successful, err =
Consider the following code fragment: printf ("About to issue execi ") 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? mycode none of these execl was successful, er About to issue execl 0 execl was successful, ern About to issue execi
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
