Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- static void
- stop() {
- static int stopping = 0;
- if (stopping) return;
- stopping = 1;
- printf("stopping!\n");
- }
- int
- main() {
- stop();
- stop();
- stop();
- stop();
- }
Add Comment
Please, Sign In to add comment