#include&lt;stdio.h&gt;   #include&lt;pthread.h&gt;&nbsp;   void *fun_t&#40;void *arg&#41;;   void *fun_t&#40;void *arg&#41;   &#123;       int ret;       ret = pthread_exit&#40;&quot;Bye&quot;&#41;;       printf&#40;&quot;%d\n&quot;,ret&#41;;   &#125;   int main&#40;&#41;   &#123;       pthread_t pt;       void *res_t;       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. 0
B. 1
C. -1
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;pthread.h&gt;&nbsp;   void *fun_t&#40;void *arg&#41;;   void *fun_t&#40;void *arg&#41;   &#123;       int ret;       ret = pthread_exit&#40;&quot;Bye&quot;&#41;;       printf&#40;&quot;%d\n&quot;,ret&#41;;   &#125;   int main&#40;&#41;   &#123;       pthread_t pt;       void *res_t;       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. 0 B. 1 C. -1 D. none of the mentioned
Explanation:The function pthread_exit() does not return any value. Hence this program will give an error.