Created
March 29, 2016 16:53
-
-
Save gnitnaw/1dc96d650d1372dc49168ca681689e90 to your computer and use it in GitHub Desktop.
Deep C -- example 2
This file contains 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
#include <stdio.h> | |
void foo(void) | |
{ | |
int a; | |
++a; | |
printf("%d\n", a); | |
} | |
int main(void) | |
{ | |
foo(); | |
foo(); | |
foo(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment