- 13
Please select the correct statements about && and || operators.
a || b is true if either a or b is true a && b is false if both a and b are true (a || b ) && c is true if c is true and either a or b is true a && b is true if either a or b is true
16 odpowiedzi
+ 11
1- a && b is true if either a or b is true (X ).
2- a || b is true if either a or b is true (√ ).
3- (a || b ) && c is true if c is true and either a or b is true (√ ).
4- a && b is false if both a and b are true (X )..
+ 3
1st statement and 3rd statement are correct.
+ 2
(a || b ) && c is true if c is true and either a or b is true
a || b is true if either a or b is true
+ 1
(a || b ) && c is true if c is true and either a or b is true
a || b is true if either a or b is true
+ 1
1
3
0
1 and 3
0
a and b u smart ome
0
according to me 4th one is correct
0
a and c is the correct answer
0
a || b is true if either a or b is true
(a || b ) && c is true if c is true and either a or b is true
0
1 and 3
0
a
0
(a || b ) && c is true if c is true and either a or b is true
a || b is true if either a or b is true
0
1st and 3rd are right options
- 3
(a || b ) && c is true if c is true and either a or b is true
a && b is true if either a or b is true
- 3
val1
==
val2 // are equal
val1 !
=
val2 // not equal
val1
<
val2 // less than
val1
val2 // are strict equal (identical)