
Appendix C
Description of Selected Operators
Type of Operator Operator Meaning
arithmetic * Unary plus
- Unary minus
+ Addition
- Subtraction
* Multiplication
/ Floating point operands: floating point
result
Integer operands: quotient
Mixed operands: floating point result
% Modulus (remainder from integer
division, operands must be integral)
++ Increment by one; postfix form covered
in text
— Decrement by one; postfix form covered
in text
sizeof returns the size in bytes of its operand
assignment I/O = Assignment; evaluate expression on the
right and store in variable named on the
left
<< Insertion; insert the characters (if a
string) or the value (if a variable or ...