#include&lt;stdio.h&gt;   #include&lt;signal.h&gt;   #include&lt;unistd.h&gt;&nbsp;   void response &#40;int&#41;;   void response &#40;int sig_no&#41;   &#123;       printf&#40;&quot;%s is working\n&quot;,sys_siglist&#91;sig_no&#93;&#41;;   &#125;   int main&#40;&#41;   &#123;       alarm&#40;5&#41;;       sleep&#40;50&#41;;       printf&#40;&quot;Sanfoundry\n&quot;&#41;;               signal&#40;SIGALRM,response&#41;;       return 0;   &#125;
A. “Sanfoundry”
B. “Alarm clock”
C. nothing
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;signal.h&gt;   #include&lt;unistd.h&gt;&nbsp;   void response &#40;int&#41;;   void response &#40;int sig_no&#41;   &#123;       printf&#40;&quot;%s is working\n&quot;,sys_siglist&#91;sig_no&#93;&#41;;   &#125;   int main&#40;&#41;   &#123;       alarm&#40;5&#41;;       sleep&#40;50&#41;;       printf&#40;&quot;Sanfoundry\n&quot;&#41;;               signal&#40;SIGALRM,response&#41;;       return 0;   &#125;
A. “Sanfoundry” B. “Alarm clock” C. nothing D. none of the mentioned
Explanation:After 5 seconds of the execution of this program, the signal SIGALRM hits the process and handler executes.