#include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;   #include&lt;unistd.h&gt;&nbsp;   int main&#40;&#41;   &#123;              if&#40; execl&#40;&quot;/bin/ls&quot;,&quot;ls&quot;,NULL&#41; == -1&#41;&#123;                    perror&#40;&quot;execl&quot;&#41;;           exit&#40;1&#41;;       &#125;       printf&#40;&quot;Sanfoundry\n&quot;&#41;;       return 0;   &#125;
A. 0
B. 1
C. 2
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;   #include&lt;unistd.h&gt;&nbsp;   int main&#40;&#41;   &#123;              if&#40; execl&#40;&quot;/bin/ls&quot;,&quot;ls&quot;,NULL&#41; == -1&#41;&#123;                    perror&#40;&quot;execl&quot;&#41;;           exit&#40;1&#41;;       &#125;       printf&#40;&quot;Sanfoundry\n&quot;&#41;;       return 0;   &#125;
A. 0 B. 1 C. 2 D. none of the mentioned
Explanation:In this program, the next statement of “execl” will never execute because the current process is replaced by the process created by the “execl” system call.