Create a gist now

Instantly share code, notes, and snippets.

#include <stdio.h>
int myGlobalVar = 3;
float myGlobalVar2 = 9.f;
void doSomething();
int main(int argc, const char * argv[])
return 0;
void doSomething()
printf("%i\n", myGlobalVar);
printf("%f\n", myGlobalVar2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment