MCQ Practice

This program will print #include #include #include void response (int); void response (int sig_no) { printf("%s is workingn",sys_siglist[sig_no]); } int main() { alarm(5); sleep(50); printf("Examplen"); signal(SIGALRM,response); return 0; }

A

"Example"

B

"Alarm clock"

C

nothing

D

none of the mentioned

Correct Answer: B