#include <stdio.h>
int im_outside = 42;
void afunction()
{
printf("Here is an outside variable as seen from a function %i\n", im_outside);
return;
}
int main (int argc, const char * argv[])
{
printf("Here is a variable I can see: %i\n", im_outside);
afunction();
return 0;
}