Home / MCQ Bank / Computer Science Engineering
Computer Science Engineering Linux Difficulty: Medium

What is the output of this program? #include<stdio.h> #include<signal.h> void response (int); void response (int sig_no) { printf("%s\n",sys_siglist[sig_no]); } int main() { pid_t child; int status; child = fork(); switch(child){ case -1: perror("fork"); case 0: break; default : signal(SIGCHLD,response); wait(&status); break; } }

Select the correct option to test your answer:

More Computer Science Engineering Questions

The ROM chips are mainly used to store . . . . . . . . The page length shouldn't be too long because . . . . . . . . Which of the following FRUs would be considered both an input/output device? . . . . . . . . and . . . . . . . . are the two issues of Requirement Analysis. Which of these targets does Kotlin currently not support?