#include&lt;stdio.h&gt;   #include&lt;pthread.h&gt;   #include&lt;fcntl.h&gt;&nbsp;   int fd;   void *fun_t&#40;void *arg&#41;;   void *fun_t&#40;void *arg&#41;   &#123;              char buff&#91;10&#93;;       int count;       count = read&#40;fd,buff,10&#41;;               printf&#40;&quot;%d\n&quot;,count&#41;;       pthread_exit&#40;&quot;Bye&quot;&#41;;   &#125;   int main&#40;&#41;   &#123;       pthread_t pt;       void *res_t;       fd = open&#40;&quot;san.c&quot;,O_RDONLY&#41;;               if&#40;pthread_create&#40;&amp;pt,NULL,fun_t,NULL&#41; != 0&#41;           perror&#40;&quot;pthread_create&quot;&#41;;       if&#40;pthread_join&#40;pt,&amp;res_t&#41; != 0&#41;           perror&#40;&quot;pthread_join&quot;&#41;;       return 0;   &#125;
A. 10
B. 0
C. -1
D. segmentation fault
Answer:A
#include&lt;stdio.h&gt;   #include&lt;pthread.h&gt;   #include&lt;fcntl.h&gt;&nbsp;   int fd;   void *fun_t&#40;void *arg&#41;;   void *fun_t&#40;void *arg&#41;   &#123;              char buff&#91;10&#93;;       int count;       count = read&#40;fd,buff,10&#41;;               printf&#40;&quot;%d\n&quot;,count&#41;;       pthread_exit&#40;&quot;Bye&quot;&#41;;   &#125;   int main&#40;&#41;   &#123;       pthread_t pt;       void *res_t;       fd = open&#40;&quot;san.c&quot;,O_RDONLY&#41;;               if&#40;pthread_create&#40;&amp;pt,NULL,fun_t,NULL&#41; != 0&#41;           perror&#40;&quot;pthread_create&quot;&#41;;       if&#40;pthread_join&#40;pt,&amp;res_t&#41; != 0&#41;           perror&#40;&quot;pthread_join&quot;&#41;;       return 0;   &#125;
A. 10 B. 0 C. -1 D. segmentation fault
Explanation:Open file descritpors can be shares between threads of the same process