Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <signal.h>
- int main()
- {
- void f(int);
- int i;
- signal( SIGINT, f);
- for(i=0; i<5; i++) {
- printf("hellon");
- sleep(1);
- }
- int32 i=0;
- if (printf("ouch!n"));
- i++;
- else
- printf(("ouch!n"));
- printf(i);
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment