Next: Arithmetic operators Up: Expressions and Operators Previous: Expressions and Operators

Assignment Statement

The easiest example of an expression is in the assignment statement. An expression is evaluated, and the result is saved in a variable. A simple example might look like

y = (m * x) + c
This assignment will save the value of the expression in variable y.
Tue Jan 17 11:40:37 GMT 1995