161k views
5 votes
The double ampersand characters ( && ) are used to separate commands to be executed conditionally, where if the command to the left of the ampersands fails, then the command to the right of the ampersands will be executed.

True / False.

User Anessa
by
5.4k points

1 Answer

6 votes

Answer:

False.

Step-by-step explanation:

&& The double ampersand operator is also called the AND Operator.Both the expression or commands written to it's left and right are executed if the value of both the expressions is True then the && returns True other wise if either of them is false or both are false then it return false.

It is mostly used in if statements,else if statements,loops.

User Bernhard Thalmayr
by
5.6k points