If a variable is declared within a function, or as an argument to a function, its binding is local, meaning that the variable has existence only that function definition.
If a variable is declared outside of a function, it is a global variable. It is defined for all functions, including functions that are defined in files other than the one in which the global variable was declared.