Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

exec Arguments Select ALL of the variable assignments below that would be requir

ID: 3843424 • Letter: E

Question

exec Arguments Select ALL of the variable assignments below that would be required to cause both of these calls to exec 0 to successfully execute "ls pla". Note that multiple assignments are necessary for each call to exec 0 to succeed. Also, for this question, ignore the fact that the first successful exec call would cause the second to not be run char array 3 char *arg0 xarg1 xarg2 xarg3 YOUR SELECTED ASSIGNMENTS GO HERE execvp(array[0], array) execlp(argo, arg1. arg2, arg 3) Note: TopHat does not allow commas in the choices below, so one of the entries has instead a Unicode "cedilla" that looks like this: f you copy n' paste, watch out for that! In addition, asterisks cannot be easily displayed. Instead, l have replaced them with this cool Cyrillic character: x. If you copy and paste, remember to swap the for asterisks m sorry for the inconvenience for these believe me am engaged with TopHat about these issues at a high level Multiple answers: You can select more than one option

Explanation / Answer

As you told it accepts double quotations so i m giving these cases works..:)please find and let me know:)

A.array[0]="ls";
D.arg0="ls";
H.array[1]="ls";
J.arg2=NULL;
E.arg1="ls"
G.arg3=NULL;