Arithmetic Expressions

From mi-linux
Revision as of 06:23, 25 January 2010 by In0316 (talk | contribs) (Ugh. This page needs removing and expressions need to be refactored.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Arithmetic expressions contain operators for doing arithmetic such as * for doing multiplication.


Example

int b = 5; int a = 3 * b;

In this case an arithmetic expression is used to store the number 15 in the variable a.

Navigation

Go back to Expressions.