Created
December 10, 2017 17:08
-
-
Save preslavmihaylov/d73d9b9c19f9361bfd7063bae7783184 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> | |
#define 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