Guest User

Untitled

a guest
Jun 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4. static void
  5. stop() {
  6. static int stopping = 0;
  7. if (stopping) return;
  8. stopping = 1;
  9.  
  10. printf("stopping!\n");
  11. }
  12.  
  13. int
  14. main() {
  15. stop();
  16. stop();
  17. stop();
  18. stop();
  19. }
Add Comment
Please, Sign In to add comment