void (*signal(int sig, void (*func)(int)))(int);If the value of func is SIG_IGN then _________

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 ignored
 
Answer: a
Explanation: SIG_IGN is one of the ways in signal() function in which receipt of the signal number sig is subsequently handled. The signal will be ignored if the value of func is SIG_IGN.
 

Tìm kiếm

Back
Top