Home Segments Index Top Previous Next

130: Mainline

A variable declared inside a function definition is said to be a local variable; some programmers prefer to call such a variable an automatic variable. A variable defined outside of any function definition is said to be a global variable.