+ 1

What does && mean

very weird

22nd Feb 2017, 1:53 AM
Philippa
Philippa - avatar
4 Answers
+ 4
it is AND operator and it returns true only if all operands are true. ex: a1 and a2 and a3 ..it will be true only if a1, a2, a3 all are true. comment if you still didn't understand.
22nd Feb 2017, 1:57 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
+ 2
In addition to @Raj Kumar Chauhan: && (and also ||) are evaluated as a "short circuit" procedure: if you have something like "b1 && b2 && b3 &&...", this will evaluate to false as soon as one of the b1, b2, b3... is false. Similarly, "b1 || b2 || b3 ||..." will evaluate to true as soon as one of the b1, b2, b3... is true.
22nd Feb 2017, 6:30 AM
Álvaro
+ 2
Thank you!!
26th Feb 2017, 5:13 AM
Philippa
Philippa - avatar
0
it means and
21st Apr 2017, 8:43 AM
dumb3r
dumb3r - avatar