Global
Guideline
Comprehensive Job Interviews
Home
Interview Questions
Online Quiz Tests
Blog
Contact Us
Close Menu
Copyright © 2005 - 2024. All Rights Reserved
Search
Home
Interviews
Operating System Linux
Linux Signal Handling
Signal Handling Question:
Another signal that cannot be caught is:
a) SIGPIPE
b) SIGHUP
c) SIGSTOP
d) SIGUSR1
Tweet
Share
WhatsApp
Download PDF
Answer:
c) SIGSTOP
Download Linux Signal Handling PDF
Read All 21 Linux Signal Handling Questions
Previous Question
Next Question
What will happen as we press the "Ctrl+c" key after running this program?
#include<stdio.h>
#include<signal.h>
void response (int);
void response (int sig_no)
{
printf("Linuxn");
}
int main()
{
signal(SIGINT,response);
while(1){
printf("googlen");
sleep(1);
}
return 0;
}
a) the string "Linux" will print
b) the process will be terminated after printing the string "Linux"
c) the process will terminate
d) none of the mentioned
When real interval timer expires which signal is generated?
a) SIGINT
b) SIGCHLD
c) SIGKILL
d) SIGALRM