Guest User

Untitled

a guest
Jun 24th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <signal.h>
  3.  
  4. int main()
  5. {
  6. void f(int);
  7. int i;
  8. signal( SIGINT, f);
  9. for(i=0; i<5; i++) {
  10. printf("hellon");
  11. sleep(1);
  12. }
  13.  
  14.  
  15. int32 i=0;
  16.  
  17. if (printf("ouch!n"));
  18. i++;
  19. else
  20. printf(("ouch!n"));
  21.  
  22. printf(i);
  23.  
  24. }
  25. return 0;
  26. }
Add Comment
Please, Sign In to add comment