Skip to content

Instantly share code, notes, and snippets.

@evgeni
Created August 8, 2012 14:27
Show Gist options
  • Save evgeni/3295456 to your computer and use it in GitHub Desktop.
Save evgeni/3295456 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
void foo() {
#define FOO 42
printf("foo() says: %i\n", FOO);
}
void main() {
printf("This is a stupid test!\n");
printf("%i\n", FOO);
foo();
printf("%i\n", FOO);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment