What's the difference between & and "and" and between | and "or" ?
5/16/2018 1:27:18 PM
Wolfysta5 Answers
New Answerand(&) will be true if both statements are true. or(|) will be true is either of statements is true.
hi, Logical ( and &):- it multiplies var a with var b to check the result out. Logical ( or |):- it adds var a with var b to check the results.
its same as it used in AND Gate ( truth table) OR Gate ( truth table) single operators are known as bitwise and , or double operators are known as logical and,or
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message