helpNow try the following scripts. //test signal.cpp rPinclude <signal.h> include <unistd.h> #include <iostream> using namespace std; void func int sig) cout << “Oops! I got a signal <<sig <endl; int main() (void) signal SIGINT, func for ( int i – 0; í < 20; ++i ) { //catch terminal interrupts cout << “CSUSB Cs 460 lab on signals” <endl; sleep (1 return 0 Run the program and hit C for a few times. What do you see? Why? Show transcribed image text Now
OR
OR