ExamVeda
Login
Home
This question belongs to Computer Science Linux
Linux
?

Which one of the following is not true about this program?
#include<stdio.h>
#include<signal.h>
 
void response (int);
void response (int signo)
{
    printf("%s\n",sys_siglist[signo]);
    signal(SIGSEGV,SIG_IGN);
}
int main()
{
    signal (SIGSEGV,response);
    char *str;
    *str = 10;        
    return 0;
}

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.