C knows two basic types of variables with different scope:
Global variables are defined outside of functions on module level (except static, see below)jjjjjjjj
Local variables are defined within functions
int global; // outside function void someFunction(void) { int local; // within function }