In Lesson 5, “Packaging Code in Functions,” you saw that a variable defined within a function is different from a variable defined outside a function. Without knowing it, you were introduced to the concept of variable scope, an important aspect of C programming. In this lesson you learn:
About variable scope and why it’s important
What external variables are and why you should usually avoid them
The ins and ...