Vidyalelo
Computer Science · Q415

Linux

Engineering and GATE · Computer Science · question 415

Q415

What will print as the SIGINT signal hits the running process of this program? #include #include #include void response (int); void response (int sig_no) printf("%s",sys_siglist[sig_no]); int main() signal(SIGINT,response); while(1) printf("Example "); sleep(1); return 0;

A.
Interrupt
Answer
B.
Stop
C.
Terminate
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board