#include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;   #include&lt;netinet/in.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd_server, fd_client, len, len_client;       struct sockaddr_in add_server, add_client;       char buff&#91;10&#93;;       fd_server = socket&#40;AF_INET,SOCK_STREAM,0&#41;;       if &#40;fd_server == -1&#41;&#123;           perror&#40;&quot;fd_sock&quot;&#41;;           exit&#40;1&#41;;          &#125;       len = sizeof&#40;add_server&#41;;       len_client = sizeof&#40;add_client&#41;;       if&#40; bind&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_server,len&#41; != 0&#41;           perror&#40;&quot;bind&quot;&#41;;       fd_client = accept&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_client,len_client&#41;;       if&#40;fd_client == -1&#41;           perror&#40;&quot;accept&quot;&#41;;       read&#40;fd_client,buff,10&#41;;       return 0;   &#125;
A. segmentation fault
B. error at the time of compilation
C. syntax error
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;   #include&lt;netinet/in.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd_server, fd_client, len, len_client;       struct sockaddr_in add_server, add_client;       char buff&#91;10&#93;;       fd_server = socket&#40;AF_INET,SOCK_STREAM,0&#41;;       if &#40;fd_server == -1&#41;&#123;           perror&#40;&quot;fd_sock&quot;&#41;;           exit&#40;1&#41;;          &#125;       len = sizeof&#40;add_server&#41;;       len_client = sizeof&#40;add_client&#41;;       if&#40; bind&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_server,len&#41; != 0&#41;           perror&#40;&quot;bind&quot;&#41;;       fd_client = accept&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_client,len_client&#41;;       if&#40;fd_client == -1&#41;           perror&#40;&quot;accept&quot;&#41;;       read&#40;fd_client,buff,10&#41;;       return 0;   &#125;
A. segmentation fault B. error at the time of compilation C. syntax error D. none of the mentioned
Explanation:The third argument of the accept is the type of pointer.