Multiple choice

Which of following operators returns true if the value of one operand is true?

  1. op1 && op2

  2. op1 || op2

  3. ! op

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

'||' operator returns true if the value of one operand is true.