#include&lt;stdio.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/un.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       struct sockaddr_un add_server, add_client;       int fd_server, fd_client;       int len;       char ch;       fd_server = socket&#40;AF_UNIX,SOCK_STREAM,0&#41;;       if&#40;fd_server == -1&#41;           perror&#40;&quot;socket&quot;&#41;;       add_server.sun_family = AF_UNIX;       strcpy&#40;add_server.sun_path,&quot;san_sock&quot;&#41;;       if&#40; bind&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_server,sizeof&#40;add_server&#41;&#41; != 0&#41;           perror&#40;&quot;bind&quot;&#41;;       if&#40; listen&#40;fd_server,3&#41; != 0&#41;           perror&#40;&quot;listen&quot;&#41;;       len = sizeof&#40;add_client&#41;;       fd_client = accept&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_client,&amp;len&#41;;       printf&#40;&quot;Sanfoundry\n&quot;&#41;;        return 0;   &#125;
A. the program will print the string “Sanfoundry”
B. the process will remain block
C. segmentation fault
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/un.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       struct sockaddr_un add_server, add_client;       int fd_server, fd_client;       int len;       char ch;       fd_server = socket&#40;AF_UNIX,SOCK_STREAM,0&#41;;       if&#40;fd_server == -1&#41;           perror&#40;&quot;socket&quot;&#41;;       add_server.sun_family = AF_UNIX;       strcpy&#40;add_server.sun_path,&quot;san_sock&quot;&#41;;       if&#40; bind&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_server,sizeof&#40;add_server&#41;&#41; != 0&#41;           perror&#40;&quot;bind&quot;&#41;;       if&#40; listen&#40;fd_server,3&#41; != 0&#41;           perror&#40;&quot;listen&quot;&#41;;       len = sizeof&#40;add_client&#41;;       fd_client = accept&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_client,&amp;len&#41;;       printf&#40;&quot;Sanfoundry\n&quot;&#41;;        return 0;   &#125;
A. the program will print the string “Sanfoundry” B. the process will remain block C. segmentation fault D. none of the mentioned
Explanation:There is no peding request in the queue for listening socket “san_sock”.