Ans:
- When an expression containing the & operator is evaluated, both operands are evaluated.
- And the & operator is applied to the operand. When an expression containing && operator is evaluated, the first operand is evaluated.
- If the first operand returns a value of true then only the second operand is evaluated otherwise the second part will not get executed. && is also called short cut and.
No comments:
Post a Comment