Vidyalelo
Computer Science · Q822

Linux

Engineering and GATE · Computer Science · question 822

Q822

How many time "Example" will print in this program? #include #include #include int main() if( execl("/bin/ls","ls",NULL) == -1) perror("execl"); exit(1); printf("Example "); return 0;

A.
0
Answer
B.
1
C.
2
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board