Chp 2 Types, Operators, and Expressions
- Variables and constants are basic data objects manipulated in a program.
- Declarations list the variables to be used, and state what types and initial values if any
- Operators specify what is to be done to the data objects
- The type of an object determine its set of values and what operations to be performed
- 2.1 Variable Names
- Names are made up of letters and digits; first character must be a letter
- Underscore "_" counts as a letter
- Upper and lower case letters are distinct
- Traditional C practice is to use lower case for variable name and all upper case for symbolic constants
No comments:
Post a Comment