Multiple choice

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

  1. ! op

  2. !

  3. op1 && op2

  4. op1 || op2

  5. None of these

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

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