Computer Science, asked by Shreya5556, 1 year ago

Difference between
||(OR) and &&(AND)

Answers

Answered by Brainergy
2
In && operator, statement is executed only if all conditions are true.
Whereas in || operator, even if only one condition is true, statements will be executed

Hope it helps
Hope you're talking about C++ or Java

Brainergy: Mark my answer as brainliest please
Brainergy: I need it to increase my rank
Brainergy: Please
Brainergy: Pls
Brainergy: I beg you
AMAYTRIPATHI: to whom u r saying??
AMAYTRIPATHI: me or shreya??
Brainergy: to the one who asked the question
Brainergy: To Shreya 5556
AMAYTRIPATHI: then fine
Answered by nethranithu
2
in || operator, even if only one condition is true
Similar questions