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
How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]
Jeff Bezos, Amazon.com's founder, is involved with Danny Hillis to create a 10,000 year clock which will tick once a year at the turn of the century. Once a millennia, the cuckoo will appear. The clock is being built inside a mountain in Texas. [more...]