#include&lt;stdio.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd&#91;3&#93;,count;       if &#40;pipe&#40;fd&#41; != 0&#41;           perror&#40;&quot;pipe&quot;&#41;;       count = write&#40;fd&#91;2&#93;,&quot;Hello&quot;,6&#41;;       printf&#40;&quot;%d\n&quot;,count&#41;;       return 0;   &#125;
A. 6
B. 0
C. -1
D. segmentation fault
Answer:A
#include&lt;stdio.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd&#91;3&#93;,count;       if &#40;pipe&#40;fd&#41; != 0&#41;           perror&#40;&quot;pipe&quot;&#41;;       count = write&#40;fd&#91;2&#93;,&quot;Hello&quot;,6&#41;;       printf&#40;&quot;%d\n&quot;,count&#41;;       return 0;   &#125;
A. 6 B. 0 C. -1 D. segmentation fault
Explanation:Data can be written only in fd[1].