Last active
March 8, 2021 15:46
-
-
Save preslavmihaylov/25b510abdf58d0c97da66843cf846c7a to your computer and use it in GitHub Desktop.
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 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