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 ")

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

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!