Question: wwwwwwww 6. How many times does this code print hello? Note that execl is a wrapper over the execve system call, which executes the

wwwwwwww 6. How many times does this code print "hello"? Note that

 

wwwwwwww 6. How many times does this code print "hello"? Note that execl is a wrapper over the execve system call, which executes the echo program. Assume that execl is always successful. int main(int argc, char **argv) { int i; for (i=0; i < 3; i++) { execl("/bin/echo", "echo", "hello", 0); wwwwwww }

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 Programming Questions!