-
-
Save sakibguy/900e25c9f34f50eca14481a47eaaa021 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
#include <stdio.h> | |
void bar() | |
{ | |
int var = 10; | |
printf("var in bar: %d\n", var); | |
} | |
void foo() | |
{ | |
int var = 5; | |
printf("var in foo: %d\n", var); | |
bar(); | |
} | |
int main(int argc, char *argv[]) | |
{ | |
foo(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment