CC Scope
Variable visibility.
C Scope
In C, variables are only accessible inside the region they are created. This is called scope.
Local Scope
A variable created inside a function belongs to the local scope of that function, and can only be used inside that function.
Global Scope
A variable created outside of anybody function, is called a global variable and belongs to the global scope.
Examples
Local Scope
c example