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

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

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!