#include&lt;stdio.h&gt;   #include&lt;sys/time.h&gt;   #include&lt;sys/resource.h&gt;&nbsp;   int main&#40;&#41;   &#123;       struct rlimit limit;       limit.rlim_cur = 10;       limit.rlim_max = 20;       if&#40;setrlimit&#40;RLIMIT_NOFILE,&amp;limit&#41; != 0&#41;           perror&#40;&quot;setrlimit&quot;&#41;;       if&#40;getrlimit&#40;RLIMIT_NOFILE,&amp;limit&#41; != 0&#41;           perror&#40;&quot;getrlimit&quot;&#41;;       printf&#40;&quot;%lu\n&quot;,limit.rlim_cur&#41;;       printf&#40;&quot;%lu\n&quot;,limit.rlim_max&#41;;       return 0;   &#125;
A. 10
B. 20
C. permisssion denied
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;sys/time.h&gt;   #include&lt;sys/resource.h&gt;&nbsp;   int main&#40;&#41;   &#123;       struct rlimit limit;       limit.rlim_cur = 10;       limit.rlim_max = 20;       if&#40;setrlimit&#40;RLIMIT_NOFILE,&amp;limit&#41; != 0&#41;           perror&#40;&quot;setrlimit&quot;&#41;;       if&#40;getrlimit&#40;RLIMIT_NOFILE,&amp;limit&#41; != 0&#41;           perror&#40;&quot;getrlimit&quot;&#41;;       printf&#40;&quot;%lu\n&quot;,limit.rlim_cur&#41;;       printf&#40;&quot;%lu\n&quot;,limit.rlim_max&#41;;       return 0;   &#125;
A. 10 B. 20 C. permisssion denied D. none of the mentioned
Explanation:None.