n. While evaluating expressions using || (OR) operator, evaluation
1. Stops if one of the expressions evaluates to false
II. stops if one of the expressions evaluates to true
III. Takes place from right to left
IV. Takes place from left to right
II and IV
Tand II
III and IV
II and III
I and IIl
Answers
Answered by
0
Answer:
While evaluating an expression using or || operator in a programming language, it means that a particular block of the program shall get executed if any of the multiple conditions given comes to be true.
Explanation:
There is a feature in programming known as branching which is achieved using the conditional operators, if multiple conditions and all of them needs to be correct if a particular work is to be done, then the AND operator issued, whereas when there is a need of running of a code segment, if any one of the multiple conditions turns out to be true, then the use of OR operator is made.
Similar questions