Fundamentals of Programming. Unit 13.
Program organization.
Storage classes: a few concepts and terms.
Local variables.
Scope.
Automatic variables.
Translation units and files.
Static variables.
Static variables with block scope.
Five storage classes.
Static variables with external linkage.
Three examples show four possible combinations of external and automatic variables.
How to use an external variable stupid.
Multiple files.
Register variable.
The program that uses all five storage classes.
Matching parentheses.
External variables: matching parentheses.
Pros and cons of external variables.
Get more experience with external vars.
Reverse Polish Notation.
Dice roll simulation.
Go back to Main Menu
Last Updated 28 Nov, 2018 18:15. <vadimov@i.ua>