Last active
August 29, 2015 14:01
-
-
Save stephan-vandenheuvel/bc2df6e44d721f12885c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void foo(int j) { | |
static int x = j; | |
x++; | |
printf("%d\n", x); | |
} | |
int main() { | |
foo(5); | |
foo(1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment