![]() |
VOOZH | about |
a+b c s-1/7*f . . etcExpressions may be of the following types: 👁 Image
5, 10 + 5 / 6.0, 'x’
x, x * y, x + int( 5.0)where x and y are integer variables.
x + y, 10.75where x and y are floating point variables.
x <= y, x + y > 2
x > y && x == 10, x == 10 || y == 5
&x, ptr, ptr++where x is a variable and ptr is a pointer.
x << 3shifts three bit position to left
y >> 1shifts one bit position to right. Shift operators are often used for multiplication and division by powers of two.