Home Segments Index Top Previous Next

65: Mainline

Arithmetic expressions can contain one operator, but they also can contain no operators or more than one operator:

6          /* Constant expression */ 
x          /* Variable expression */ 
6 + 3 + 2  /* Produces 11 */ 
6 - 3 - 2  /* Produces 1 */ 
6 * 3 * 2  /* Produces 36 */ 
6 / 3 / 2  /* Produces 1 */