Visibility

Variables declared outside all functions are global and can be accessed anywhere in the current source file. Variables declared inside a function are local and can be accessed only in that function. Use the extern keyword to make a variable declared in another source file visible in the current source file.