Unlike other operators, the increment and decrement operators act on only one operand. They are hence called Unary operators.
They can be used either before or after a variable as in:
a++; b--; OR ++a; --b;
Read the section again, if you’ve not understood this concept.
Take a look at the following code… what do you think will be the value of variable res?
var res = 25 + 100 * 4;
There are two ways to look at this
res = 25 + (100 * 4); res = 425 OR res = (25 + 100) * 4; res = 500
The first commercial spam was posted on Usenet by Laurence Canter and Martha Siegel. They used a Perl script to post their message, "Green Card Lottery - Final One?", to about 5,500 discussion groups. [more...]