What will the following expression evaluate to (true && false) || (!true)
True
False
Error
None of the mentioned
Correct Answer: B — False
Explanation:
Boolean operator && evaluates to true only when both the values are true and !true means false hence the whole expression will evaluate to false.