InterviewSolution
Saved Bookmarks
| 1. |
void (*signal(int sig, void (*func)(int)))(int);If the value of func is SIG_IGN then _________(a) the signal will be ignored(b) default handling for that signal will occur(c) The signal() function will fail to execute(d) the signal will be ignoredI have been asked this question by my college professor while I was bunking the class.My enquiry is from Signal Handling topic in section C Library of C |
|
Answer» The correct answer is (a) the signal will be ignored |
|