#include&lt;stdio.h&gt;&nbsp;   int main&#40;&#41;   &#123;       if &#40;mkfifo&#40;&quot;/tmp/test_fifo&quot;,0666&#41; != 0&#41;           perror&#40;&quot;mkfifo&quot;&#41;;       if &#40;mkfifo&#40;&quot;/tmp/test_fifo&quot;,0666&#41; != 0&#41;           perror&#40;&quot;mkfifo&quot;&#41;;       return 0;   &#125;
A. this program will create two named pipes “test_fifo” in the /tmp directory
B. this program will create one named pipe “test_fifo” in the /tmp directory
C. segmentation fault
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;&nbsp;   int main&#40;&#41;   &#123;       if &#40;mkfifo&#40;&quot;/tmp/test_fifo&quot;,0666&#41; != 0&#41;           perror&#40;&quot;mkfifo&quot;&#41;;       if &#40;mkfifo&#40;&quot;/tmp/test_fifo&quot;,0666&#41; != 0&#41;           perror&#40;&quot;mkfifo&quot;&#41;;       return 0;   &#125;
A. this program will create two named pipes “test_fifo” in the /tmp directory B. this program will create one named pipe “test_fifo” in the /tmp directory C. segmentation fault D. none of the mentioned
Explanation:In this program when the mkfifo executes second time, the fifo already exists. Hence it gives error.