Discussion Forum : Mathematic Operations And Loops
Question - What will the following expression evaluate to?
true || false
Options:
A .  True
B .  False
C .  Error
D .  None of the mentioned
Answer: Option A


Boolean operator || evaluates to true only when both the values are true or one is true and other is false.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *