Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void foo(void);
- int main(){
- foo();
- foo();
- foo();
- foo();
- foo();
- foo();
- foo();
- foo();
- }
- void foo(){
- static int i = 0;
- printf("%d\n", i++);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement