Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

&& Logical AND Operator

This operator evaluates to non-zero if and only if both operands are non-zero, otherwise it evaluates to zero.

Syntax:

exp1 && exp2

Usage:

7 && 8               // evaluates to 1
0 && 2               // evaluates to 0
5 == 5 && 2==2       // evaluates to 1

If exp1 evaluates to zero, exp2 is not evaluated.